@overdeck/contracts 0.76.0 → 0.78.0

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.cjs CHANGED
@@ -399,7 +399,8 @@ const KNOWN_HARNESSES = new Set([
399
399
  "kimi-code",
400
400
  "opencode",
401
401
  "muse",
402
- "prime-agent"
402
+ "prime-agent",
403
+ "grok"
403
404
  ]);
404
405
  /**
405
406
  * Normalize a snapshot's runtime field to a known Harness value.
@@ -5522,7 +5523,8 @@ const FlywheelHarness = effect.Schema.Literals([
5522
5523
  "kimi-code",
5523
5524
  "opencode",
5524
5525
  "muse",
5525
- "prime-agent"
5526
+ "prime-agent",
5527
+ "grok"
5526
5528
  ]);
5527
5529
  const FlywheelEffort = EffortLevelSchema;
5528
5530
  const FlywheelOrchestrator = effect.Schema.Struct({
@@ -5923,7 +5925,8 @@ const CONTEXT_PREVIEW_HARNESSES = [
5923
5925
  "kimi-code",
5924
5926
  "opencode",
5925
5927
  "muse",
5926
- "prime-agent"
5928
+ "prime-agent",
5929
+ "grok"
5927
5930
  ];
5928
5931
  const ContextLayerKind = effect.Schema.Literals(CONTEXT_LAYER_KINDS);
5929
5932
  const ContextPreviewHarness = effect.Schema.Literals(CONTEXT_PREVIEW_HARNESSES);
@@ -6032,6 +6035,7 @@ const ContextHarnessPreviews = effect.Schema.Struct({
6032
6035
  acp: effect.Schema.String,
6033
6036
  "kimi-code": effect.Schema.String,
6034
6037
  opencode: effect.Schema.optional(effect.Schema.String),
6038
+ grok: effect.Schema.optional(effect.Schema.String),
6035
6039
  muse: effect.Schema.String,
6036
6040
  "prime-agent": effect.Schema.String,
6037
6041
  fullPrompt: effect.Schema.String
@@ -6093,6 +6097,7 @@ const ArtifactAgentHarness = effect.Schema.Literals([
6093
6097
  "opencode",
6094
6098
  "muse",
6095
6099
  "prime-agent",
6100
+ "grok",
6096
6101
  "user"
6097
6102
  ]);
6098
6103
  const ArtifactLifecycleState = effect.Schema.Literals([
@@ -6385,6 +6390,13 @@ const OPENCODE_CAPABILITIES = {
6385
6390
  runsOnFlyMachine: false,
6386
6391
  overdeckMcp: true
6387
6392
  };
6393
+ const GROK_CAPABILITIES = {
6394
+ ...OPENCODE_CAPABILITIES,
6395
+ binaryLabel: "Grok Build",
6396
+ installHint: "curl -fsSL https://x.ai/cli/install.sh | bash",
6397
+ updateArgs: ["update"],
6398
+ npmPackage: "@xai-official/grok"
6399
+ };
6388
6400
  const MUSE_CAPABILITIES = {
6389
6401
  contextChannel: "append-system-prompt-file",
6390
6402
  initialPromptMustLand: false,
@@ -6602,6 +6614,24 @@ const OPENCODE_BEHAVIOR = {
6602
6614
  executableName: "opencode",
6603
6615
  processNames: ["acp-host", "opencode"]
6604
6616
  };
6617
+ const GROK_BEHAVIOR = {
6618
+ ...ACP_BEHAVIOR,
6619
+ displayName: "Grok Build",
6620
+ capabilities: GROK_CAPABILITIES,
6621
+ contextLayerKind: "grok",
6622
+ executableName: "grok",
6623
+ processNames: [
6624
+ "acp-host",
6625
+ "grok",
6626
+ "grok-native"
6627
+ ],
6628
+ effortLevels: [
6629
+ "low",
6630
+ "medium",
6631
+ "high",
6632
+ "xhigh"
6633
+ ]
6634
+ };
6605
6635
  const MUSE_BEHAVIOR = {
6606
6636
  displayName: "Muse Code",
6607
6637
  capabilities: MUSE_CAPABILITIES,
@@ -6664,7 +6694,8 @@ const BEHAVIORS = {
6664
6694
  acp: ACP_BEHAVIOR,
6665
6695
  "kimi-code": KIMI_CODE_BEHAVIOR,
6666
6696
  muse: MUSE_BEHAVIOR,
6667
- "prime-agent": PRIME_AGENT_BEHAVIOR
6697
+ "prime-agent": PRIME_AGENT_BEHAVIOR,
6698
+ grok: GROK_BEHAVIOR
6668
6699
  };
6669
6700
  const LEGACY_PI_HARNESS = "pi";
6670
6701
  /** True for the legacy stored harness alias `pi` (PAN-1989), which now means ohmypi. */
@@ -6876,7 +6907,8 @@ const TELEMETRY_HARNESSES = [
6876
6907
  "kimi-code",
6877
6908
  "opencode",
6878
6909
  "muse",
6879
- "prime-agent"
6910
+ "prime-agent",
6911
+ "grok"
6880
6912
  ];
6881
6913
  /** PAN-5084: what kind of install reported an event — distinguishes real adoption from CI/test/VM churn. */
6882
6914
  const TELEMETRY_INSTALL_KINDS = [
@@ -6946,6 +6978,7 @@ const TELEMETRY_MCP_TOOLS = [
6946
6978
  "memory_search",
6947
6979
  "read_conversation",
6948
6980
  "request_secret",
6981
+ "resume_conversation",
6949
6982
  "schedule_message",
6950
6983
  "schedule_recurring",
6951
6984
  "search_conversations",
@@ -6982,6 +7015,9 @@ const TELEMETRY_CLIENT_ROUTES = [
6982
7015
  "/api/agents/:id/permissions/:requestId/respond",
6983
7016
  "/api/agents/:id/plan-action",
6984
7017
  "/api/agents/:id/tell",
7018
+ "/api/backend-restart-recovery",
7019
+ "/api/backend-restart-recovery/dismiss",
7020
+ "/api/backend-restart-recovery/resume-all",
6985
7021
  "/api/connectors/self",
6986
7022
  "/api/conversations",
6987
7023
  "/api/conversations/:id",
@@ -7033,6 +7069,8 @@ const TELEMETRY_CLIENT_ROUTES = [
7033
7069
  "/api/fleet/workers",
7034
7070
  "/api/fleet/workers/:id/stop",
7035
7071
  "/api/flywheel/status",
7072
+ "/api/github/identities",
7073
+ "/api/harness-auto-update",
7036
7074
  "/api/issues",
7037
7075
  "/api/lanes",
7038
7076
  "/api/lanes/:name",
@@ -7061,6 +7099,7 @@ const TELEMETRY_CLIENT_ROUTES = [
7061
7099
  "/api/pipeline/membership",
7062
7100
  "/api/pull-requests",
7063
7101
  "/api/pull-requests/conversations",
7102
+ "/api/push/history",
7064
7103
  "/api/registered-projects",
7065
7104
  "/api/self/done",
7066
7105
  "/api/self/handoff",
@@ -7112,6 +7151,7 @@ const TELEMETRY_CLIENT_ROUTE_AREAS = [
7112
7151
  "anywhere",
7113
7152
  "artifacts",
7114
7153
  "autopreso",
7154
+ "backend-restart-recovery",
7115
7155
  "backlog",
7116
7156
  "boot-reconciliation",
7117
7157
  "cache",
@@ -7144,8 +7184,10 @@ const TELEMETRY_CLIENT_ROUTE_AREAS = [
7144
7184
  "flywheel",
7145
7185
  "fs",
7146
7186
  "git-activity",
7187
+ "github",
7147
7188
  "github-quota",
7148
7189
  "godview",
7190
+ "harness-auto-update",
7149
7191
  "health",
7150
7192
  "hooks",
7151
7193
  "internal",
@@ -9818,7 +9860,7 @@ const COMPOSER_COMMAND_MANIFEST = [
9818
9860
  },
9819
9861
  {
9820
9862
  "flags": "--harness <harness>",
9821
- "description": "Coding-agent harness: claude-code | pi | codex | acp | kimi-code | opencode | muse | prime-agent (defaults to role/provider settings)",
9863
+ "description": "Coding-agent harness: claude-code | pi | codex | acp | kimi-code | opencode | muse | prime-agent | grok (defaults to role/provider settings)",
9822
9864
  "required": true,
9823
9865
  "valueHint": "harness"
9824
9866
  },
@@ -10613,7 +10655,7 @@ const COMPOSER_COMMAND_MANIFEST = [
10613
10655
  },
10614
10656
  {
10615
10657
  "flags": "--harness <harness>",
10616
- "description": "Coding-agent harness: claude-code | pi | codex | acp | kimi-code | opencode | muse | prime-agent (defaults to role/provider settings)",
10658
+ "description": "Coding-agent harness: claude-code | pi | codex | acp | kimi-code | opencode | muse | prime-agent | grok (defaults to role/provider settings)",
10617
10659
  "required": true,
10618
10660
  "valueHint": "harness"
10619
10661
  },
@@ -10742,7 +10784,7 @@ const COMPOSER_COMMAND_MANIFEST = [
10742
10784
  },
10743
10785
  {
10744
10786
  "flags": "--harness <harness>",
10745
- "description": "Coding-agent harness: claude-code | pi | codex | acp | kimi-code | opencode | muse | prime-agent (defaults to role/provider settings)",
10787
+ "description": "Coding-agent harness: claude-code | pi | codex | acp | kimi-code | opencode | muse | prime-agent | grok (defaults to role/provider settings)",
10746
10788
  "required": true,
10747
10789
  "valueHint": "harness"
10748
10790
  },
@@ -11108,15 +11150,15 @@ const COMPOSER_COMMAND_MANIFEST = [
11108
11150
  "id": "pan-task-done",
11109
11151
  "path": ["task", "done"],
11110
11152
  "display": "/pan task done",
11111
- "description": "Record an item as done. Requires a commit carrying \"Item: <item>\" on a pushed branch.",
11153
+ "description": "Record one or more items as done in one continue commit. Each id needs a commit carrying \"Item: <id>\" on a pushed branch; if any id lacks one, nothing is written.",
11112
11154
  "args": [{
11113
11155
  "name": "issue",
11114
11156
  "required": true,
11115
11157
  "variadic": false
11116
11158
  }, {
11117
- "name": "item",
11159
+ "name": "items",
11118
11160
  "required": true,
11119
- "variadic": false
11161
+ "variadic": true
11120
11162
  }],
11121
11163
  "options": [{
11122
11164
  "flags": "--json",
@@ -15352,6 +15394,25 @@ const COMPOSER_COMMAND_MANIFEST = [
15352
15394
  "aliases": [],
15353
15395
  "category": "Conversation"
15354
15396
  },
15397
+ {
15398
+ "id": "pan-conversations-resume",
15399
+ "path": ["conversations", "resume"],
15400
+ "display": "/pan conversations resume",
15401
+ "description": "Resume a stopped conversation (@<machine>/<name> for one on a linked machine); reattaches if it still runs",
15402
+ "args": [{
15403
+ "name": "name",
15404
+ "required": true,
15405
+ "variadic": false
15406
+ }],
15407
+ "options": [{
15408
+ "flags": "--json",
15409
+ "description": "Print the resumed conversation as JSON",
15410
+ "required": false,
15411
+ "valueHint": null
15412
+ }],
15413
+ "aliases": [],
15414
+ "category": "Conversation"
15415
+ },
15355
15416
  {
15356
15417
  "id": "pan-conversations-pull",
15357
15418
  "path": ["conversations", "pull"],
@@ -17039,7 +17100,7 @@ const COMPOSER_COMMAND_MANIFEST = [
17039
17100
  },
17040
17101
  {
17041
17102
  "flags": "--agent-harness <harness>",
17042
- "description": "Agent harness: claude-code, pi, ohmypi, codex, acp, kimi-code, opencode, muse, prime-agent, or user",
17103
+ "description": "Agent harness: claude-code, pi, ohmypi, codex, acp, kimi-code, opencode, muse, prime-agent, grok, or user",
17043
17104
  "required": true,
17044
17105
  "valueHint": "harness"
17045
17106
  },
@@ -19532,6 +19593,7 @@ const FLEET_BINARY_ORDER = [
19532
19593
  "codex",
19533
19594
  "kimi",
19534
19595
  "opencode",
19596
+ "grok",
19535
19597
  "muse",
19536
19598
  "prime-agent",
19537
19599
  "omp"
@@ -20417,6 +20479,8 @@ exports.FlywheelSystemStatus = FlywheelSystemStatus;
20417
20479
  exports.GITHUB_QUOTA_BUCKETS = GITHUB_QUOTA_BUCKETS;
20418
20480
  exports.GITHUB_QUOTA_CALLERS = GITHUB_QUOTA_CALLERS;
20419
20481
  exports.GITHUB_QUOTA_POOLS = GITHUB_QUOTA_POOLS;
20482
+ exports.GROK_BEHAVIOR = GROK_BEHAVIOR;
20483
+ exports.GROK_CAPABILITIES = GROK_CAPABILITIES;
20420
20484
  exports.GetAvailableBrowsersRpc = GetAvailableBrowsersRpc;
20421
20485
  exports.GetAvailableEditorsRpc = GetAvailableEditorsRpc;
20422
20486
  exports.GetConversationCostByWorkspaceRpc = GetConversationCostByWorkspaceRpc;