MCPcopy Create free account

hub / github.com/commandoperator/cmdop-sdk / functions

Functions325 in github.com/commandoperator/cmdop-sdk

↓ 1 callersMethoditerate
()
node/src/transport.ts:88
↓ 1 callersMethodlist
Browse the public marketplace (page-number paginated).
python/src/cmdop/resources/skills.py:40
↓ 1 callersMethodlist
( self, *, fleet_id: str | None = None, page: int = 1, per_page: int | None = None )
python/src/cmdop/resources/schedules.py:33
↓ 1 callersMethodlist
(self, *, page: int = 1, per_page: int | None = None)
python/src/cmdop/resources/fleets.py:45
↓ 1 callersMethodlist
( self, *, fleet_id: str | None = None, page: int = 1, per_page: int | None = None )
python/src/cmdop/resources/keys.py:18
↓ 1 callersMethodlist
( self, *, presence: str = "any", q: str | None = None, limit: int = 1
python/src/cmdop/resources/machines.py:35
↓ 1 callersMethodlist
(self, *, page: int = 1, per_page: int | None = None)
python/src/cmdop/resources/tunnels.py:45
↓ 1 callersMethodlist
(fleetId?: string, opts: ListPageOptions = {})
node/src/resources/fleets.ts:100
↓ 1 callersMethodlist
(fleetId?: string, opts: ListMachinesOptions = {})
node/src/resources/fleets.ts:141
↓ 1 callersFunctionmain
()
python/scripts/print_surface.py:41
↓ 1 callersFunctionmoduleDir
* The directory of THIS module, resolved for both ESM (`import.meta.url`) and * CJS (`__dirname`). Anchoring to the module file — never `process.cwd(
node/src/locate.ts:50
↓ 1 callersFunctionpackageBinDir
* Find the package root (the dir containing `bin/`). The built bundle lives in * `dist/`, so the package root is one level up; but be robust to eithe
node/src/locate.ts:71
↓ 1 callersMethodpages
( self, *, fleet_id: str | None = None, per_page: int | None = None )
python/src/cmdop/resources/schedules.py:158
↓ 1 callersMethodpages
(self, *, per_page: int | None = None)
python/src/cmdop/resources/fleets.py:88
↓ 1 callersMethodpages
( self, *, fleet_id: str | None = None, per_page: int | None = None )
python/src/cmdop/resources/keys.py:54
↓ 1 callersMethodpages
Yield machine pages (cursor pagination).
python/src/cmdop/resources/machines.py:89
↓ 1 callersMethodpages
(self, *, per_page: int | None = None)
python/src/cmdop/resources/tunnels.py:67
↓ 1 callersMethodpages_runs
( self, schedule_id: str, *, fleet_id: str | None = None, limit: int = 50 )
python/src/cmdop/resources/schedules.py:174
↓ 1 callersMethodpin
Answer a ``pin_required`` frame with the entered connection PIN.
python/src/cmdop/streaming.py:199
↓ 1 callersMethodpin
Answer a `pin_required` frame with the entered connection PIN.
node/src/streaming.ts:132
↓ 1 callersFunctionrandomId
()
node/src/resources/machines.ts:137
↓ 1 callersMethodruns
( self, schedule_id: str, *, fleet_id: str | None = None, limit: int =
python/src/cmdop/resources/schedules.py:133
↓ 1 callersFunctionstreamError
* Build the error to throw for a stream-terminal ERROR frame: the typed PIN * exception for a PIN-gate verdict, else the generic {@link AgentStreamEr
node/src/streaming.ts:52
Method[Symbol.asyncDispose]
()
node/src/client.ts:83
Method[Symbol.asyncIterator]
()
node/src/streaming.ts:120
Method__aenter__
(self)
python/src/cmdop/client.py:96
Method__aexit__
(self, *exc: Any)
python/src/cmdop/client.py:99
Method__aiter__
(self)
python/src/cmdop/streaming.py:182
Method__init__
( self, token: str | None = None, *, base_url: str | None = None, flee
python/src/cmdop/client.py:30
Method__init__
(self, *args: Any, retry_after: int | None = None, **kwargs: Any)
python/src/cmdop/errors.py:64
Method__init__
(self, code: str, message: str)
python/src/cmdop/errors.py:108
Method__init__
(self, fut: asyncio.Future)
python/src/cmdop/_transport.py:48
Method__init__
(self, queue: asyncio.Queue)
python/src/cmdop/_transport.py:55
Method__init__
(self, cfg: ClientConfig, bin_path: str)
python/src/cmdop/_transport.py:90
Method__init__
(self, transport: Transport, req: pb.Envelope)
python/src/cmdop/streaming.py:177
Method__init__
(self, client: Client)
python/src/cmdop/resources/base.py:26
Method__init__
(self, sink: asyncio.StreamReader)
python/tests/test_skills.py:26
Method__init__
(self)
python/tests/test_skills.py:40
Method__init__
(self, transport: Transport)
python/tests/test_skills.py:58
Method__init__
(self, sink: asyncio.StreamReader)
python/tests/test_transport.py:44
Method__init__
(self)
python/tests/test_transport.py:58
Function_clean_env
(monkeypatch: pytest.MonkeyPatch)
python/tests/test_config.py:19
Methodaclose
Close stdin (graceful drain), reap the child, cancel the read loop.
python/src/cmdop/_transport.py:220
MethodactiveSession
The live agent session id (empty string if none).
node/src/resources/machines.ts:127
Methodactive_session
Return the live agent session id (empty if none).
python/src/cmdop/resources/machines.py:145
Methodadd
(self, email: str, role: str = "member", *, fleet_id: str | None = None)
python/src/cmdop/resources/fleets.py:108
Methodadd
( body: { email: string; role?: string }, opts: { fleetId?: string } = {}, )
node/src/resources/fleets.ts:115
Methodanswer
(env: Envelope)
node/src/transport.ts:341
Methodask
Talk to the machine's AI agent. Returns a :class:`FrameStream` with ``pin()`` / ``confirm()`` / ``collect()``. ``pin`` is the upfront
python/src/cmdop/resources/machines.py:102
Methodask
Talk to the machine's AI agent. Returns an {@link AskStream}.
node/src/resources/machines.ts:99
Methodattach
(self, machine_id: str, *, fleet_id: str | None = None)
python/src/cmdop/resources/fleets.py:148
Methodattach
(machineId: string, opts: { fleetId?: string } = {})
node/src/resources/fleets.ts:162
MethodbaseUrl
()
node/src/client.ts:44
Methodbase_url
(self)
python/src/cmdop/client.py:65
Methodcategories
( self, *, search: str | None = None, ordering: str | None = None )
python/src/cmdop/resources/skills.py:188
Methodcategories
(opts: TaxonomyOptions = {})
node/src/resources/skills.ts:164
MethodclearMessages
(machineId: string)
node/src/resources/machines.ts:121
Methodclear_messages
Wipe chat history for the machine.
python/src/cmdop/resources/machines.py:140
Methodclose
(self)
python/tests/test_skills.py:32
Methodclose
(self)
python/tests/test_transport.py:50
Methodclose
()
node/src/transport.ts:251
Methodclose
Close a tunnel (idempotent).
node/src/resources/tunnels.ts:39
Methodconfig
(self)
python/src/cmdop/client.py:57
Functionconstructor
(client: Client)
node/src/resources/base.ts:48
Methodconstructor
(opts: ClientOptions | string = {})
node/src/client.ts:29
Methodconstructor
(private readonly source: StreamSource)
node/src/streaming.ts:118
Methodconstructor
( private readonly cfg: ClientConfig, private readonly binPath: string, )
node/src/transport.ts:114
Methodconstructor
(message: string, status?: number, code?: string, body?: unknown)
node/src/errors.ts:19
Methodconstructor
(message: string, code?: string, retryAfter?: number, body?: unknown)
node/src/errors.ts:38
Methodconstructor
(code: string, message: string)
node/src/errors.ts:80
Methodcreate
Reserve a new skill by name (server fills the rest on publish).
python/src/cmdop/resources/skills.py:120
Methodcreate
( self, *, name: str, cron_expr: str, command: str, fleet_id:
python/src/cmdop/resources/schedules.py:51
Methodcreate
(self, *, name: str, slug: str, mfa_required: str = "none")
python/src/cmdop/resources/fleets.py:60
Methodcreate
(name: string)
node/src/resources/skills.ts:126
Methodcreate
(body: { name: string; slug: string; mfaRequired?: string; })
node/src/resources/fleets.ts:60
Methodcreate
(opts: CreateScheduleOptions)
node/src/resources/schedules.ts:86
Methoddelete
(self, slug: str)
python/src/cmdop/resources/skills.py:152
Methoddelete
(self, schedule_id: str, *, fleet_id: str | None = None)
python/src/cmdop/resources/schedules.py:116
Methoddelete
(scheduleId: string, opts: { fleetId?: string } = {})
node/src/resources/schedules.ts:124
Methoddetach
(self, machine_id: str, *, fleet_id: str | None = None)
python/src/cmdop/resources/fleets.py:155
Methoddetach
(machineId: string, opts: { fleetId?: string } = {})
node/src/resources/fleets.ts:170
Methoddisable
Soft-disable (not delete).
python/src/cmdop/resources/fleets.py:76
Methoddisable
Soft-disable (not delete).
python/src/cmdop/resources/machines.py:62
Methoddisable
Soft-disable (not delete).
node/src/resources/fleets.ts:94
Methoddisable
Soft-disable (not delete).
node/src/resources/machines.ts:68
Methoddrain
(self)
python/tests/test_transport.py:53
Methodenvelopes
()
node/src/transport.ts:324
Methodfetch
(page_number: int)
python/src/cmdop/resources/schedules.py:161
Methodfetch
(page_number: int)
python/src/cmdop/resources/fleets.py:89
Methodfetch
(page_number: int)
python/src/cmdop/resources/keys.py:57
Methodfetch
(cursor: str | None)
python/src/cmdop/resources/machines.py:94
Methodfetch
(page_number: int)
python/src/cmdop/resources/tunnels.py:68
Methodfinish
()
node/src/transport.ts:267
Functionfleet
Resolve the effective fleet id (explicit arg, else the client default).
node/src/resources/base.ts:54
MethodfleetId
()
node/src/client.ts:40
Methodfleet_id
(self)
python/src/cmdop/client.py:61
Methodfleets
(self)
python/src/cmdop/client.py:75
Methodfleets
()
node/src/client.ts:54
MethodfromEnv
Build a client purely from the environment (`CMDOP_*`).
node/src/client.ts:36
Methodfrom_env
Build a client from the ``CMDOP_*`` environment variables.
python/src/cmdop/client.py:52
← previousnext →101–200 of 325, ranked by callers