@myagentroam/protocol 0.9.95 → 0.9.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +12 -1
- package/dist/index.js +7 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -24748,6 +24748,17 @@ export declare const workspaceSymbolDefinitionSchema: z.ZodObject<{
|
|
|
24748
24748
|
export type WorkspaceSymbolDefinitionTarget = z.infer<typeof workspaceSymbolDefinitionTargetSchema>;
|
|
24749
24749
|
export type WorkspaceSymbolReference = z.infer<typeof workspaceSymbolReferenceSchema>;
|
|
24750
24750
|
export type WorkspaceSymbolDefinition = z.infer<typeof workspaceSymbolDefinitionSchema>;
|
|
24751
|
+
export declare const workspaceSymbolIndexPreparationSchema: z.ZodObject<{
|
|
24752
|
+
state: z.ZodEnum<["UNAVAILABLE", "BUILDING", "READY", "STALE", "FAILED"]>;
|
|
24753
|
+
failureCode: z.ZodOptional<z.ZodEnum<["SYMBOL_INDEX_BUILD_FAILED", "SYMBOL_INDEX_LIMIT_EXCEEDED"]>>;
|
|
24754
|
+
}, "strict", z.ZodTypeAny, {
|
|
24755
|
+
state: "FAILED" | "READY" | "UNAVAILABLE" | "BUILDING" | "STALE";
|
|
24756
|
+
failureCode?: "SYMBOL_INDEX_BUILD_FAILED" | "SYMBOL_INDEX_LIMIT_EXCEEDED" | undefined;
|
|
24757
|
+
}, {
|
|
24758
|
+
state: "FAILED" | "READY" | "UNAVAILABLE" | "BUILDING" | "STALE";
|
|
24759
|
+
failureCode?: "SYMBOL_INDEX_BUILD_FAILED" | "SYMBOL_INDEX_LIMIT_EXCEEDED" | undefined;
|
|
24760
|
+
}>;
|
|
24761
|
+
export type WorkspaceSymbolIndexPreparation = z.infer<typeof workspaceSymbolIndexPreparationSchema>;
|
|
24751
24762
|
export declare const workspaceFileReadSchema: z.ZodObject<{
|
|
24752
24763
|
path: z.ZodString;
|
|
24753
24764
|
encoding: z.ZodEnum<["utf-8", "base64"]>;
|
|
@@ -25425,7 +25436,7 @@ export declare const gitHistoryFileSchema: z.ZodObject<{
|
|
|
25425
25436
|
previousPath?: string | undefined;
|
|
25426
25437
|
}>;
|
|
25427
25438
|
export type GitHistoryFile = z.infer<typeof gitHistoryFileSchema>;
|
|
25428
|
-
export declare const workbenchNodeOperationSchema: z.ZodEnum<["workspace.git.settings.get", "workspace.git.settings.update", "node.workbench.capabilities", "runner.usage.status", "runner.usage.read", "workspace.directories.list", "workspace.remove", "workspace.watch", "workspace.unwatch", "session.unwatch", "session.metadata.update", "session.pin.move", "session.rewind", "session.rollback", "session.remove", "workspace.sessions.cleanup", "session.config.update", "session.turns.list", "session.events.read", "session.context.read", "session.command.execute", "runner.command.execute", "runner.profiles.list", "runner.defaults.save", "mar-agent.model.test", "workspace.files.list", "workspace.file.read", "workspace.file.write", "workspace.file.content.read", "workspace.file.direct.metadata", "workspace.files.search", "workspace.files.mutate", "workspace.content.search", "workspace.symbol.definition", "workspace.files.upload.preflight", "workspace.files.upload.create", "workspace.files.upload.chunk", "workspace.files.upload.status", "workspace.files.upload.complete", "workspace.files.upload.cancel", "workspace.changes.current", "workspace.change.diff", "workspace.change.restore", "workspace.git.refs.list", "workspace.git.history.list", "workspace.git.commit.files", "workspace.git.commit.file.diff", "workspace.git.commit.file.content.read", "workspace.git.commit.file.direct.metadata", "run.image.read", "terminal.open", "terminal.list", "terminal.close", "terminal.attach.authorize", "node.upgrade.request", "node.upgrade.cancel", "node.skills.inspect", "node.skills.install", "node.skills.remove", "workspace.skills.inspect", "workspace.skills.install", "workspace.skills.remove", "workspace.skills.git-exclude-repair", "skill.install.job.get", "node.mcps.inspect", "node.mcps.install", "node.mcps.remove", "workspace.mcps.inspect", "workspace.mcps.install", "workspace.mcps.remove", "conversation.template.source.inspect", "conversation.template.publish", "conversation.template.publish.status", "conversation.template.version.inspect", "conversation.hosting.enable", "conversation.hosting.disable", "conversation.hosting.storage.inspect", "conversation.hosting.cleanup.preview", "conversation.hosting.cleanup.execute", "computer.use.enable", "computer.use.disable", "conversation.hosted.list", "conversation.hosted.create", "conversation.hosted.get", "conversation.hosted.history", "conversation.hosted.watch", "conversation.hosted.unwatch", "conversation.hosted.message", "conversation.hosted.rollback", "conversation.hosted.interrupt", "conversation.hosted.config.update", "conversation.hosted.metadata.update", "conversation.hosted.image.read", "conversation.hosted.files.list", "conversation.hosted.file.read", "conversation.hosted.file.delete", "conversation.hosted.files.upload.preflight", "conversation.hosted.files.upload.create", "conversation.hosted.files.upload.chunk", "conversation.hosted.files.upload.status", "conversation.hosted.files.upload.complete", "conversation.hosted.files.upload.cancel", "conversation.hosted.delete"]>;
|
|
25439
|
+
export declare const workbenchNodeOperationSchema: z.ZodEnum<["workspace.git.settings.get", "workspace.git.settings.update", "node.workbench.capabilities", "runner.usage.status", "runner.usage.read", "workspace.directories.list", "workspace.remove", "workspace.watch", "workspace.unwatch", "session.unwatch", "session.metadata.update", "session.pin.move", "session.rewind", "session.rollback", "session.remove", "workspace.sessions.cleanup", "session.config.update", "session.turns.list", "session.events.read", "session.context.read", "session.command.execute", "runner.command.execute", "runner.profiles.list", "runner.defaults.save", "mar-agent.model.test", "workspace.files.list", "workspace.file.read", "workspace.file.write", "workspace.file.content.read", "workspace.file.direct.metadata", "workspace.files.search", "workspace.files.mutate", "workspace.content.search", "workspace.symbol.prepare", "workspace.symbol.definition", "workspace.files.upload.preflight", "workspace.files.upload.create", "workspace.files.upload.chunk", "workspace.files.upload.status", "workspace.files.upload.complete", "workspace.files.upload.cancel", "workspace.changes.current", "workspace.change.diff", "workspace.change.restore", "workspace.git.refs.list", "workspace.git.history.list", "workspace.git.commit.files", "workspace.git.commit.file.diff", "workspace.git.commit.file.content.read", "workspace.git.commit.file.direct.metadata", "run.image.read", "terminal.open", "terminal.list", "terminal.close", "terminal.attach.authorize", "node.upgrade.request", "node.upgrade.cancel", "node.skills.inspect", "node.skills.install", "node.skills.remove", "workspace.skills.inspect", "workspace.skills.install", "workspace.skills.remove", "workspace.skills.git-exclude-repair", "skill.install.job.get", "node.mcps.inspect", "node.mcps.install", "node.mcps.remove", "workspace.mcps.inspect", "workspace.mcps.install", "workspace.mcps.remove", "conversation.template.source.inspect", "conversation.template.publish", "conversation.template.publish.status", "conversation.template.version.inspect", "conversation.hosting.enable", "conversation.hosting.disable", "conversation.hosting.storage.inspect", "conversation.hosting.cleanup.preview", "conversation.hosting.cleanup.execute", "computer.use.enable", "computer.use.disable", "conversation.hosted.list", "conversation.hosted.create", "conversation.hosted.get", "conversation.hosted.history", "conversation.hosted.watch", "conversation.hosted.unwatch", "conversation.hosted.message", "conversation.hosted.rollback", "conversation.hosted.interrupt", "conversation.hosted.config.update", "conversation.hosted.metadata.update", "conversation.hosted.image.read", "conversation.hosted.files.list", "conversation.hosted.file.read", "conversation.hosted.file.delete", "conversation.hosted.files.upload.preflight", "conversation.hosted.files.upload.create", "conversation.hosted.files.upload.chunk", "conversation.hosted.files.upload.status", "conversation.hosted.files.upload.complete", "conversation.hosted.files.upload.cancel", "conversation.hosted.delete"]>;
|
|
25429
25440
|
export type WorkbenchNodeOperation = z.infer<typeof workbenchNodeOperationSchema>;
|
|
25430
25441
|
/**
|
|
25431
25442
|
* A small, explicit envelope keeps WebSocket messages independently parseable
|
package/dist/index.js
CHANGED
|
@@ -2412,6 +2412,12 @@ export const workspaceSymbolDefinitionSchema = z.object({
|
|
|
2412
2412
|
truncated: z.boolean(),
|
|
2413
2413
|
failureCode: z.enum(['SYMBOL_INDEX_BUILD_FAILED', 'SYMBOL_INDEX_LIMIT_EXCEEDED']).optional()
|
|
2414
2414
|
});
|
|
2415
|
+
export const workspaceSymbolIndexPreparationSchema = z
|
|
2416
|
+
.object({
|
|
2417
|
+
state: z.enum(['UNAVAILABLE', 'BUILDING', 'READY', 'STALE', 'FAILED']),
|
|
2418
|
+
failureCode: z.enum(['SYMBOL_INDEX_BUILD_FAILED', 'SYMBOL_INDEX_LIMIT_EXCEEDED']).optional()
|
|
2419
|
+
})
|
|
2420
|
+
.strict();
|
|
2415
2421
|
export const workspaceFileReadSchema = z.object({
|
|
2416
2422
|
path: z.string().min(1).max(4096),
|
|
2417
2423
|
encoding: z.enum(['utf-8', 'base64']),
|
|
@@ -2562,6 +2568,7 @@ export const workbenchNodeOperationSchema = z.enum([
|
|
|
2562
2568
|
'workspace.files.search',
|
|
2563
2569
|
'workspace.files.mutate',
|
|
2564
2570
|
'workspace.content.search',
|
|
2571
|
+
'workspace.symbol.prepare',
|
|
2565
2572
|
'workspace.symbol.definition',
|
|
2566
2573
|
'workspace.files.upload.preflight',
|
|
2567
2574
|
'workspace.files.upload.create',
|