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.
Files changed (122) hide show
  1. package/README.md +160 -2
  2. package/dist/auth/lock.d.ts +14 -0
  3. package/dist/auth/lock.js +71 -0
  4. package/dist/auth/provider.d.ts +89 -0
  5. package/dist/auth/provider.js +884 -0
  6. package/dist/auth/store.d.ts +25 -0
  7. package/dist/auth/store.js +106 -0
  8. package/dist/auth/types.d.ts +138 -0
  9. package/dist/auth/types.js +1 -0
  10. package/dist/cli/config.d.ts +26 -0
  11. package/dist/cli/config.js +98 -0
  12. package/dist/cli/help.d.ts +1 -0
  13. package/dist/cli/help.js +83 -0
  14. package/dist/cli/io.d.ts +6 -0
  15. package/dist/cli/io.js +61 -0
  16. package/dist/cli/main.d.ts +2 -0
  17. package/dist/cli/main.js +275 -0
  18. package/dist/cli/sync.d.ts +4 -0
  19. package/dist/cli/sync.js +105 -0
  20. package/dist/connect/client.d.ts +32 -0
  21. package/dist/connect/client.js +257 -0
  22. package/dist/dto/result.d.ts +33 -0
  23. package/dist/dto/result.js +29 -0
  24. package/dist/dto/types.d.ts +63 -0
  25. package/dist/dto/types.js +2 -0
  26. package/dist/errors.d.ts +31 -0
  27. package/dist/errors.js +64 -0
  28. package/dist/index.d.ts +13 -0
  29. package/dist/index.js +11 -0
  30. package/dist/mcp/main.d.ts +2 -0
  31. package/dist/mcp/main.js +82 -0
  32. package/dist/mcp/tools.d.ts +24 -0
  33. package/dist/mcp/tools.js +408 -0
  34. package/dist/mcp/zod-json.d.ts +2 -0
  35. package/dist/mcp/zod-json.js +4 -0
  36. package/dist/ops/auth.d.ts +48 -0
  37. package/dist/ops/auth.js +89 -0
  38. package/dist/ops/bot.d.ts +52 -0
  39. package/dist/ops/bot.js +211 -0
  40. package/dist/ops/limits.d.ts +10 -0
  41. package/dist/ops/limits.js +31 -0
  42. package/dist/ops/map.d.ts +7 -0
  43. package/dist/ops/map.js +57 -0
  44. package/dist/ops/message.d.ts +33 -0
  45. package/dist/ops/message.js +118 -0
  46. package/dist/ops/plane.d.ts +26 -0
  47. package/dist/ops/plane.js +33 -0
  48. package/dist/ops/progress.d.ts +34 -0
  49. package/dist/ops/progress.js +92 -0
  50. package/dist/ops/session.d.ts +13 -0
  51. package/dist/ops/session.js +34 -0
  52. package/dist/ops/sidebar.d.ts +70 -0
  53. package/dist/ops/sidebar.js +205 -0
  54. package/dist/sync/attachments.d.ts +76 -0
  55. package/dist/sync/attachments.js +274 -0
  56. package/dist/sync/core.d.ts +92 -0
  57. package/dist/sync/core.js +1027 -0
  58. package/dist/sync/decode.d.ts +83 -0
  59. package/dist/sync/decode.js +229 -0
  60. package/dist/sync/download-policy.d.ts +3 -0
  61. package/dist/sync/download-policy.js +103 -0
  62. package/dist/sync/fs.d.ts +24 -0
  63. package/dist/sync/fs.js +252 -0
  64. package/dist/sync/hydrate.d.ts +43 -0
  65. package/dist/sync/hydrate.js +472 -0
  66. package/dist/sync/render.d.ts +5 -0
  67. package/dist/sync/render.js +100 -0
  68. package/dist/testing/mock-persist.d.ts +3 -0
  69. package/dist/testing/mock-persist.js +45 -0
  70. package/dist/testing/mock-transport.d.ts +18 -0
  71. package/dist/testing/mock-transport.js +202 -0
  72. package/docs/acceptance.md +19 -0
  73. package/docs/architecture.md +128 -0
  74. package/docs/auth-lock.md +87 -0
  75. package/docs/implementation-plan.md +14 -0
  76. package/docs/implementation-status.md +92 -0
  77. package/docs/proto-drift.md +9 -0
  78. package/docs/protocol/README.md +34 -0
  79. package/docs/protocol/attachment-pagination-0.79.3.md +32 -0
  80. package/docs/protocol/auth-flow.md +51 -0
  81. package/docs/protocol/baseline-manifest.md +72 -0
  82. package/docs/protocol/baselines/full-schema-diff-0.78.4-to-0.79.2.txt +239 -0
  83. package/docs/protocol/baselines/full-schema-diff-0.78.4-to-0.79.3.txt +240 -0
  84. package/docs/protocol/baselines/full-schema-diff-0.79.2-to-0.79.3.txt +23 -0
  85. package/docs/protocol/baselines/schema-0.79.3/README.md +7 -0
  86. package/docs/protocol/baselines/schema-0.79.3/agent.v1.proto +5184 -0
  87. package/docs/protocol/baselines/schema-0.79.3/aiserver.v1.proto +18182 -0
  88. package/docs/protocol/baselines/schema-0.79.3/aiserver.v1_2.proto +54 -0
  89. package/docs/protocol/baselines/schema-0.79.3/anyrun.v1.proto +37 -0
  90. package/docs/protocol/baselines/schema-0.79.3/internapi.v1.proto +35 -0
  91. package/docs/protocol/baselines/schema-0.79.3/snapshot.json.gz +0 -0
  92. package/docs/protocol/baselines/schema-0.79.3/svc_aiserver.v1.AgentStoreService.proto +34 -0
  93. package/docs/protocol/baselines/schema-0.79.3/svc_aiserver.v1.AiService.proto +17 -0
  94. package/docs/protocol/baselines/schema-0.79.3/svc_aiserver.v1.AnalyticsService.proto +17 -0
  95. package/docs/protocol/baselines/schema-0.79.3/svc_aiserver.v1.BackgroundComposerService.proto +19 -0
  96. package/docs/protocol/baselines/schema-0.79.3/svc_aiserver.v1.DashboardService.proto +101 -0
  97. package/docs/protocol/baselines/schema-0.79.3/svc_aiserver.v1.GrokBotService.proto +473 -0
  98. package/docs/protocol/baselines/schema-0.79.3/svc_aiserver.v1.SandBoxService.proto +64 -0
  99. package/docs/protocol/baselines/used-surface-0.78.4.json +3694 -0
  100. package/docs/protocol/baselines/used-surface-0.79.2.json +3835 -0
  101. package/docs/protocol/baselines/used-surface-0.79.3.json +3835 -0
  102. package/docs/protocol/baselines/used-surface-diff-0.78.4-to-0.79.2.md +34 -0
  103. package/docs/protocol/baselines/used-surface-diff-0.78.4-to-0.79.3.md +33 -0
  104. package/docs/protocol/compat-matrix.md +20 -0
  105. package/docs/protocol/static-restore.md +64 -0
  106. package/docs/protocol/surface-map.md +39 -0
  107. package/docs/protocol/transcript-body-0.79.3.md +98 -0
  108. package/docs/protocol/update-runbook.md +30 -0
  109. package/docs/protocol-map.md +106 -0
  110. package/docs/references.md +55 -0
  111. package/docs/requirements.md +26 -0
  112. package/docs/review.md +36 -0
  113. package/docs/sync-format.md +98 -0
  114. package/package.json +60 -4
  115. package/vendor/proto-gen/NOTICE.md +23 -0
  116. package/vendor/proto-gen/agent.v1_pb.js +9503 -0
  117. package/vendor/proto-gen/aiserver.v1_2_pb.js +105 -0
  118. package/vendor/proto-gen/aiserver.v1_pb.js +33163 -0
  119. package/vendor/proto-gen/anyrun.v1_pb.js +64 -0
  120. package/vendor/proto-gen/internapi.v1_pb.js +60 -0
  121. package/vendor/proto-gen/package.json +10 -0
  122. 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
+