grokbot-control 0.0.0-stage → 0.1.3
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/README.md +160 -2
- package/dist/auth/lock.d.ts +14 -0
- package/dist/auth/lock.js +71 -0
- package/dist/auth/provider.d.ts +89 -0
- package/dist/auth/provider.js +884 -0
- package/dist/auth/store.d.ts +25 -0
- package/dist/auth/store.js +106 -0
- package/dist/auth/types.d.ts +138 -0
- package/dist/auth/types.js +1 -0
- package/dist/cli/config.d.ts +26 -0
- package/dist/cli/config.js +98 -0
- package/dist/cli/help.d.ts +1 -0
- package/dist/cli/help.js +83 -0
- package/dist/cli/io.d.ts +6 -0
- package/dist/cli/io.js +61 -0
- package/dist/cli/main.d.ts +2 -0
- package/dist/cli/main.js +275 -0
- package/dist/cli/sync.d.ts +4 -0
- package/dist/cli/sync.js +105 -0
- package/dist/connect/client.d.ts +32 -0
- package/dist/connect/client.js +257 -0
- package/dist/dto/result.d.ts +33 -0
- package/dist/dto/result.js +29 -0
- package/dist/dto/types.d.ts +63 -0
- package/dist/dto/types.js +2 -0
- package/dist/errors.d.ts +31 -0
- package/dist/errors.js +64 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +11 -0
- package/dist/mcp/main.d.ts +2 -0
- package/dist/mcp/main.js +82 -0
- package/dist/mcp/tools.d.ts +24 -0
- package/dist/mcp/tools.js +408 -0
- package/dist/mcp/zod-json.d.ts +2 -0
- package/dist/mcp/zod-json.js +4 -0
- package/dist/ops/auth.d.ts +48 -0
- package/dist/ops/auth.js +89 -0
- package/dist/ops/bot.d.ts +52 -0
- package/dist/ops/bot.js +211 -0
- package/dist/ops/limits.d.ts +10 -0
- package/dist/ops/limits.js +31 -0
- package/dist/ops/map.d.ts +7 -0
- package/dist/ops/map.js +57 -0
- package/dist/ops/message.d.ts +33 -0
- package/dist/ops/message.js +118 -0
- package/dist/ops/plane.d.ts +26 -0
- package/dist/ops/plane.js +33 -0
- package/dist/ops/progress.d.ts +34 -0
- package/dist/ops/progress.js +92 -0
- package/dist/ops/session.d.ts +13 -0
- package/dist/ops/session.js +34 -0
- package/dist/ops/sidebar.d.ts +70 -0
- package/dist/ops/sidebar.js +205 -0
- package/dist/sync/attachments.d.ts +76 -0
- package/dist/sync/attachments.js +274 -0
- package/dist/sync/core.d.ts +92 -0
- package/dist/sync/core.js +1027 -0
- package/dist/sync/decode.d.ts +83 -0
- package/dist/sync/decode.js +229 -0
- package/dist/sync/download-policy.d.ts +3 -0
- package/dist/sync/download-policy.js +103 -0
- package/dist/sync/fs.d.ts +24 -0
- package/dist/sync/fs.js +252 -0
- package/dist/sync/hydrate.d.ts +43 -0
- package/dist/sync/hydrate.js +472 -0
- package/dist/sync/render.d.ts +5 -0
- package/dist/sync/render.js +100 -0
- package/dist/testing/mock-persist.d.ts +3 -0
- package/dist/testing/mock-persist.js +45 -0
- package/dist/testing/mock-transport.d.ts +18 -0
- package/dist/testing/mock-transport.js +202 -0
- package/docs/acceptance.md +19 -0
- package/docs/architecture.md +128 -0
- package/docs/auth-lock.md +87 -0
- package/docs/implementation-plan.md +14 -0
- package/docs/implementation-status.md +92 -0
- package/docs/proto-drift.md +9 -0
- package/docs/protocol/README.md +34 -0
- package/docs/protocol/attachment-pagination-0.79.3.md +32 -0
- package/docs/protocol/auth-flow.md +51 -0
- package/docs/protocol/baseline-manifest.md +72 -0
- package/docs/protocol/baselines/full-schema-diff-0.78.4-to-0.79.2.txt +239 -0
- package/docs/protocol/baselines/full-schema-diff-0.78.4-to-0.79.3.txt +240 -0
- package/docs/protocol/baselines/full-schema-diff-0.79.2-to-0.79.3.txt +23 -0
- package/docs/protocol/baselines/schema-0.79.3/README.md +7 -0
- package/docs/protocol/baselines/schema-0.79.3/agent.v1.proto +5184 -0
- package/docs/protocol/baselines/schema-0.79.3/aiserver.v1.proto +18182 -0
- package/docs/protocol/baselines/schema-0.79.3/aiserver.v1_2.proto +54 -0
- package/docs/protocol/baselines/schema-0.79.3/anyrun.v1.proto +37 -0
- package/docs/protocol/baselines/schema-0.79.3/internapi.v1.proto +35 -0
- package/docs/protocol/baselines/schema-0.79.3/snapshot.json.gz +0 -0
- package/docs/protocol/baselines/schema-0.79.3/svc_aiserver.v1.AgentStoreService.proto +34 -0
- package/docs/protocol/baselines/schema-0.79.3/svc_aiserver.v1.AiService.proto +17 -0
- package/docs/protocol/baselines/schema-0.79.3/svc_aiserver.v1.AnalyticsService.proto +17 -0
- package/docs/protocol/baselines/schema-0.79.3/svc_aiserver.v1.BackgroundComposerService.proto +19 -0
- package/docs/protocol/baselines/schema-0.79.3/svc_aiserver.v1.DashboardService.proto +101 -0
- package/docs/protocol/baselines/schema-0.79.3/svc_aiserver.v1.GrokBotService.proto +473 -0
- package/docs/protocol/baselines/schema-0.79.3/svc_aiserver.v1.SandBoxService.proto +64 -0
- package/docs/protocol/baselines/used-surface-0.78.4.json +3694 -0
- package/docs/protocol/baselines/used-surface-0.79.2.json +3835 -0
- package/docs/protocol/baselines/used-surface-0.79.3.json +3835 -0
- package/docs/protocol/baselines/used-surface-diff-0.78.4-to-0.79.2.md +34 -0
- package/docs/protocol/baselines/used-surface-diff-0.78.4-to-0.79.3.md +33 -0
- package/docs/protocol/compat-matrix.md +20 -0
- package/docs/protocol/static-restore.md +64 -0
- package/docs/protocol/surface-map.md +39 -0
- package/docs/protocol/transcript-body-0.79.3.md +98 -0
- package/docs/protocol/update-runbook.md +30 -0
- package/docs/protocol-map.md +106 -0
- package/docs/references.md +55 -0
- package/docs/requirements.md +26 -0
- package/docs/review.md +36 -0
- package/docs/sync-format.md +98 -0
- package/package.json +60 -4
- package/vendor/proto-gen/NOTICE.md +23 -0
- package/vendor/proto-gen/agent.v1_pb.js +9503 -0
- package/vendor/proto-gen/aiserver.v1_2_pb.js +105 -0
- package/vendor/proto-gen/aiserver.v1_pb.js +33163 -0
- package/vendor/proto-gen/anyrun.v1_pb.js +64 -0
- package/vendor/proto-gen/internapi.v1_pb.js +60 -0
- package/vendor/proto-gen/package.json +10 -0
- package/vendor/proto-gen/svc_aiserver.v1.GrokBotService_connect.js +4193 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=js"
|
|
2
|
+
// @generated from file aiserver.v1_2.proto (package aiserver.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { proto3 } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message aiserver.v1.CodeBlock
|
|
10
|
+
*/
|
|
11
|
+
export const CodeBlock = /*@__PURE__*/ proto3.makeMessageType(
|
|
12
|
+
"aiserver.v1.CodeBlock",
|
|
13
|
+
() => [
|
|
14
|
+
{ no: 1, name: "relative_workspace_path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
15
|
+
{ no: 2, name: "file_contents", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
16
|
+
{ no: 9, name: "file_contents_length", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
17
|
+
{ no: 3, name: "range", kind: "message", T: CursorRange },
|
|
18
|
+
{ no: 4, name: "contents", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
19
|
+
{ no: 5, name: "signatures", kind: "message", T: CodeBlock_Signatures },
|
|
20
|
+
{ no: 6, name: "override_contents", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
21
|
+
{ no: 7, name: "original_contents", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
22
|
+
{ no: 8, name: "detailed_lines", kind: "message", T: DetailedLine, repeated: true },
|
|
23
|
+
{ no: 10, name: "file_git_context", kind: "message", T: FileGit },
|
|
24
|
+
],
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @generated from message aiserver.v1.CodeBlock.Signatures
|
|
29
|
+
*/
|
|
30
|
+
export const CodeBlock_Signatures = /*@__PURE__*/ proto3.makeMessageType(
|
|
31
|
+
"aiserver.v1.CodeBlock.Signatures",
|
|
32
|
+
() => [
|
|
33
|
+
{ no: 1, name: "ranges", kind: "message", T: CursorRange, repeated: true },
|
|
34
|
+
],
|
|
35
|
+
{localName: "CodeBlock_Signatures"},
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @generated from message aiserver.v1.CodeResult
|
|
40
|
+
*/
|
|
41
|
+
export const CodeResult = /*@__PURE__*/ proto3.makeMessageType(
|
|
42
|
+
"aiserver.v1.CodeResult",
|
|
43
|
+
() => [
|
|
44
|
+
{ no: 1, name: "code_block", kind: "message", T: CodeBlock },
|
|
45
|
+
{ no: 2, name: "score", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
46
|
+
],
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @generated from message aiserver.v1.CursorPosition
|
|
51
|
+
*/
|
|
52
|
+
export const CursorPosition = /*@__PURE__*/ proto3.makeMessageType(
|
|
53
|
+
"aiserver.v1.CursorPosition",
|
|
54
|
+
() => [
|
|
55
|
+
{ no: 1, name: "line", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
56
|
+
{ no: 2, name: "column", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
57
|
+
],
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @generated from message aiserver.v1.CursorRange
|
|
62
|
+
*/
|
|
63
|
+
export const CursorRange = /*@__PURE__*/ proto3.makeMessageType(
|
|
64
|
+
"aiserver.v1.CursorRange",
|
|
65
|
+
() => [
|
|
66
|
+
{ no: 1, name: "start_position", kind: "message", T: CursorPosition },
|
|
67
|
+
{ no: 2, name: "end_position", kind: "message", T: CursorPosition },
|
|
68
|
+
],
|
|
69
|
+
);
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @generated from message aiserver.v1.DetailedLine
|
|
73
|
+
*/
|
|
74
|
+
export const DetailedLine = /*@__PURE__*/ proto3.makeMessageType(
|
|
75
|
+
"aiserver.v1.DetailedLine",
|
|
76
|
+
() => [
|
|
77
|
+
{ no: 1, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
78
|
+
{ no: 2, name: "line_number", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
79
|
+
{ no: 3, name: "is_signature", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
80
|
+
],
|
|
81
|
+
);
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @generated from message aiserver.v1.FileGit
|
|
85
|
+
*/
|
|
86
|
+
export const FileGit = /*@__PURE__*/ proto3.makeMessageType(
|
|
87
|
+
"aiserver.v1.FileGit",
|
|
88
|
+
() => [
|
|
89
|
+
{ no: 1, name: "commits", kind: "message", T: GitCommit, repeated: true },
|
|
90
|
+
],
|
|
91
|
+
);
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @generated from message aiserver.v1.GitCommit
|
|
95
|
+
*/
|
|
96
|
+
export const GitCommit = /*@__PURE__*/ proto3.makeMessageType(
|
|
97
|
+
"aiserver.v1.GitCommit",
|
|
98
|
+
() => [
|
|
99
|
+
{ no: 1, name: "commit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
100
|
+
{ no: 2, name: "author", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
101
|
+
{ no: 3, name: "date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
102
|
+
{ no: 4, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
103
|
+
],
|
|
104
|
+
);
|
|
105
|
+
|