@volter/supercode-interchange 0.1.22 → 0.1.24

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 (129) hide show
  1. package/LICENSE-diffy-MIT +23 -0
  2. package/README.md +422 -2
  3. package/channel-records.mjs +71 -0
  4. package/channel-session-counts.mjs +81 -0
  5. package/channels-read.mjs +90 -0
  6. package/corpus-audit-records.mjs +192 -0
  7. package/corpus-audit-render.mjs +47 -0
  8. package/corpus-audit-schema.mjs +89 -0
  9. package/corpus-audit.d.ts +16 -0
  10. package/corpus-audit.mjs +132 -0
  11. package/file-io.mjs +21 -2
  12. package/harness-settings.mjs +19 -0
  13. package/hermes-fire-links.mjs +135 -0
  14. package/hermes-fires.mjs +106 -0
  15. package/hermes-read-home.d.ts +3 -0
  16. package/hermes-read-home.mjs +235 -0
  17. package/hermes-read-store.mjs +49 -0
  18. package/hermes-read-validation.mjs +170 -0
  19. package/hermes-read-workflow.mjs +164 -0
  20. package/hermes-read-yaml.mjs +68 -0
  21. package/hermes-store.mjs +1 -1
  22. package/homes.mjs +2 -2
  23. package/index.d.ts +14 -1
  24. package/index.mjs +1 -1
  25. package/inspection-builtin-tools.json +261 -0
  26. package/inspection-config-fields.json +765 -0
  27. package/inspection-schemas.d.ts +4 -0
  28. package/inspection-schemas.mjs +117 -0
  29. package/job-notepad-read.mjs +97 -0
  30. package/jobs-control.mjs +250 -0
  31. package/jobs-read.mjs +198 -0
  32. package/jsonl.mjs +4 -3
  33. package/memory-show.mjs +187 -0
  34. package/metadata.mjs +45 -3
  35. package/native-json.mjs +46 -3
  36. package/ontology-contracts.d.ts +5 -0
  37. package/ontology-contracts.mjs +29 -0
  38. package/ontology-operations.json +198 -0
  39. package/ontology-schemas.json +7946 -0
  40. package/openclaw-jobs-read.mjs +117 -0
  41. package/openclaw-profile-home.mjs +142 -0
  42. package/orchestrator-read-records.mjs +112 -0
  43. package/orchestrator-store.mjs +21 -9
  44. package/package.json +59 -4
  45. package/parity-ledger.json +6984 -0
  46. package/parity-orchestration.json +5538 -0
  47. package/parity-report.d.ts +7 -0
  48. package/parity-report.mjs +46 -0
  49. package/preset-profiles.mjs +27 -0
  50. package/profile-command.mjs +32 -0
  51. package/profile-orchestrator-door.mjs +104 -0
  52. package/profile-paths.mjs +25 -0
  53. package/profiles-control.mjs +98 -0
  54. package/profiles-read.mjs +119 -0
  55. package/reduction-attribution.mjs +54 -0
  56. package/reduction-diff.mjs +165 -0
  57. package/reduction-log.mjs +177 -0
  58. package/reduction-view.mjs +145 -0
  59. package/retained-projection.mjs +9 -0
  60. package/routes-read.mjs +103 -0
  61. package/runs-read.mjs +224 -0
  62. package/session-activity.d.ts +23 -0
  63. package/session-activity.mjs +124 -0
  64. package/session-append-scan.mjs +27 -17
  65. package/session-branch-handoff.mjs +115 -0
  66. package/session-claude-graph.mjs +29 -7
  67. package/session-claude-index.mjs +732 -114
  68. package/session-claude-runtime.d.ts +28 -0
  69. package/session-claude-runtime.mjs +171 -6
  70. package/session-claude-scan-store.mjs +164 -0
  71. package/session-claude.mjs +9 -0
  72. package/session-codex-activity.d.ts +6 -0
  73. package/session-codex-activity.mjs +120 -0
  74. package/session-codex-window.mjs +24 -4
  75. package/session-config-scan.mjs +141 -0
  76. package/session-convert.d.ts +33 -0
  77. package/session-convert.mjs +179 -0
  78. package/session-emission-version.json +1 -0
  79. package/session-file.mjs +11 -1
  80. package/session-follower.mjs +17 -5
  81. package/session-fresh-id.mjs +15 -0
  82. package/session-hermes-import.mjs +61 -0
  83. package/session-hermes.mjs +1 -1
  84. package/session-import.mjs +37 -0
  85. package/session-inspect.d.ts +18 -0
  86. package/session-inspect.mjs +122 -0
  87. package/session-machine-tree.d.ts +33 -0
  88. package/session-machine-tree.mjs +274 -0
  89. package/session-materialize-files.mjs +78 -0
  90. package/session-materialize-opencode.mjs +137 -0
  91. package/session-materialize.mjs +186 -0
  92. package/session-message.mjs +85 -0
  93. package/session-model.d.ts +9 -0
  94. package/session-model.mjs +1 -0
  95. package/session-opencode-store.mjs +39 -3
  96. package/session-path.mjs +6 -3
  97. package/session-pi-content.mjs +7 -2
  98. package/session-read.d.ts +134 -2
  99. package/session-read.mjs +86 -9
  100. package/session-recorded-config.mjs +3 -2
  101. package/session-records.mjs +12 -6
  102. package/session-residue-store.mjs +90 -0
  103. package/session-residue.mjs +150 -0
  104. package/session-resume-instructions.mjs +1 -1
  105. package/session-saved-read.mjs +105 -0
  106. package/session-transfer.mjs +141 -0
  107. package/session-views.mjs +1 -0
  108. package/session-write-claude.mjs +135 -0
  109. package/session-write-codex.mjs +146 -0
  110. package/session-write-gemini.mjs +77 -0
  111. package/session-write-goose.mjs +99 -0
  112. package/session-write-grok.mjs +70 -0
  113. package/session-write-native.mjs +41 -0
  114. package/session-write-opencode.mjs +197 -0
  115. package/session-write-pi.mjs +130 -0
  116. package/session-write-residue.mjs +19 -0
  117. package/session-write-utils.mjs +77 -0
  118. package/session-write.d.ts +10 -0
  119. package/session-write.mjs +37 -0
  120. package/skill-toml.mjs +80 -0
  121. package/skills-control.mjs +193 -0
  122. package/skills-list.mjs +237 -0
  123. package/source-files.mjs +12 -2
  124. package/sqlite-reader.mjs +134 -18
  125. package/support-registry.json +402 -0
  126. package/support-report.mjs +69 -0
  127. package/trigger-records.mjs +77 -0
  128. package/triggers-read.mjs +67 -0
  129. package/workflow-read.mjs +165 -0
@@ -0,0 +1,261 @@
1
+ [
2
+ {
3
+ "name": "read_file",
4
+ "description": "Read the contents of a UTF-8 text file. Output may be line-numbered `cat -n` style (a right-aligned number and a tab before each line, numbered from `offset`); the numbers are the gutter, not file content. Large files are returned truncated from the start (with a notice stating the true size); pass `offset` (1-based start line) and/or `limit` (number of lines) to read further slices. PDFs come back as extracted text and Jupyter notebooks as their cells with outputs.",
5
+ "parameters": {
6
+ "type": "object",
7
+ "properties": {
8
+ "path": {
9
+ "type": "string",
10
+ "description": "File path, absolute or relative to the working directory."
11
+ },
12
+ "offset": {
13
+ "type": "integer",
14
+ "description": "1-based line to start at."
15
+ },
16
+ "limit": {
17
+ "type": "integer",
18
+ "description": "Maximum number of lines to return."
19
+ }
20
+ },
21
+ "required": [
22
+ "path"
23
+ ],
24
+ "additionalProperties": false
25
+ }
26
+ },
27
+ {
28
+ "name": "write_file",
29
+ "description": "Create or overwrite a file with the given contents. Parent directories are created as needed.",
30
+ "parameters": {
31
+ "type": "object",
32
+ "properties": {
33
+ "path": {
34
+ "type": "string",
35
+ "description": "File path to write."
36
+ },
37
+ "content": {
38
+ "type": "string",
39
+ "description": "Full file contents."
40
+ }
41
+ },
42
+ "required": [
43
+ "path",
44
+ "content"
45
+ ],
46
+ "additionalProperties": false
47
+ }
48
+ },
49
+ {
50
+ "name": "edit_file",
51
+ "description": "Replace an exact substring in a file. By default `old_string` must occur exactly once; set `replace_all` to replace every occurrence. When notebook-aware editing is enabled, pass `cell_index`/`cell_op` (`replace`|`insert`|`delete`) instead to edit a Jupyter `.ipynb` cell.",
52
+ "parameters": {
53
+ "type": "object",
54
+ "properties": {
55
+ "path": {
56
+ "type": "string"
57
+ },
58
+ "old_string": {
59
+ "type": "string",
60
+ "description": "Exact text to replace."
61
+ },
62
+ "new_string": {
63
+ "type": "string",
64
+ "description": "Replacement text."
65
+ },
66
+ "replace_all": {
67
+ "type": "boolean",
68
+ "description": "Replace every occurrence instead of requiring uniqueness."
69
+ },
70
+ "cell_index": {
71
+ "type": "integer",
72
+ "description": "0-based Jupyter cell index (notebook-aware mode only)."
73
+ },
74
+ "cell_op": {
75
+ "type": "string",
76
+ "enum": [
77
+ "replace",
78
+ "insert",
79
+ "delete"
80
+ ],
81
+ "description": "Notebook cell operation (notebook-aware mode only)."
82
+ },
83
+ "cell_source": {
84
+ "type": "string",
85
+ "description": "New cell source text (notebook-aware `replace`/`insert`)."
86
+ },
87
+ "cell_type": {
88
+ "type": "string",
89
+ "enum": [
90
+ "code",
91
+ "markdown"
92
+ ],
93
+ "description": "Cell type for notebook-aware `insert` (default `code`)."
94
+ }
95
+ },
96
+ "required": [
97
+ "path"
98
+ ],
99
+ "additionalProperties": false
100
+ }
101
+ },
102
+ {
103
+ "name": "list_dir",
104
+ "description": "List the entries of a directory (defaults to the working directory). Directories are suffixed with `/`.",
105
+ "parameters": {
106
+ "type": "object",
107
+ "properties": {
108
+ "path": {
109
+ "type": "string",
110
+ "description": "Directory to list. Defaults to the working directory."
111
+ }
112
+ },
113
+ "additionalProperties": false
114
+ }
115
+ },
116
+ {
117
+ "name": "glob",
118
+ "description": "Find files matching a glob pattern (e.g. `src/**/*.rs`), relative to the working directory.",
119
+ "parameters": {
120
+ "type": "object",
121
+ "properties": {
122
+ "pattern": {
123
+ "type": "string",
124
+ "description": "Glob pattern, e.g. **/*.rs"
125
+ }
126
+ },
127
+ "required": [
128
+ "pattern"
129
+ ],
130
+ "additionalProperties": false
131
+ }
132
+ },
133
+ {
134
+ "name": "search",
135
+ "description": "Search file contents with a regular expression, respecting .gitignore. Returns `path:line: text` matches.",
136
+ "parameters": {
137
+ "type": "object",
138
+ "properties": {
139
+ "pattern": {
140
+ "type": "string",
141
+ "description": "Regular expression to search for."
142
+ },
143
+ "path": {
144
+ "type": "string",
145
+ "description": "Directory or file to search. Defaults to the working directory."
146
+ },
147
+ "max_results": {
148
+ "type": "integer",
149
+ "description": "Cap on the number of matches (default 200)."
150
+ }
151
+ },
152
+ "required": [
153
+ "pattern"
154
+ ],
155
+ "additionalProperties": false
156
+ }
157
+ },
158
+ {
159
+ "name": "apply_patch",
160
+ "description": "Apply a patch in the apply_patch envelope format (*** Begin Patch / *** End Patch) with Add File, Delete File, and Update File operations. Update hunks use leading '+'/'-'/' ' on each line and may include '@@' context headers and an optional '*** Move to:' rename.",
161
+ "parameters": {
162
+ "type": "object",
163
+ "properties": {
164
+ "patch": {
165
+ "type": "string",
166
+ "description": "The full *** Begin Patch … *** End Patch text."
167
+ }
168
+ },
169
+ "required": [
170
+ "patch"
171
+ ],
172
+ "additionalProperties": false
173
+ }
174
+ },
175
+ {
176
+ "name": "bash",
177
+ "description": "Execute a shell command via `sh -c` in the working directory and return its combined stdout/stderr and exit code.",
178
+ "parameters": {
179
+ "type": "object",
180
+ "properties": {
181
+ "command": {
182
+ "type": "string",
183
+ "description": "Shell command to run."
184
+ },
185
+ "timeout_ms": {
186
+ "type": "integer",
187
+ "description": "Timeout in milliseconds (default 120000)."
188
+ },
189
+ "with_escalated_permissions": {
190
+ "type": "boolean",
191
+ "description": "Run this one command OUTSIDE the sandbox. Only use it after a sandboxed attempt failed for a sandbox reason; the user is asked first, and must supply a justification."
192
+ },
193
+ "justification": {
194
+ "type": "string",
195
+ "description": "Why this command needs to run outside the sandbox. Shown to the user with the approval request."
196
+ }
197
+ },
198
+ "required": [
199
+ "command"
200
+ ],
201
+ "additionalProperties": false
202
+ }
203
+ },
204
+ {
205
+ "name": "shell",
206
+ "description": "Run a command in a PERSISTENT shell whose working directory, environment, and shell functions survive across calls (unlike one-shot bash). Pass `command` to run to completion (returns exit code), or `write_stdin` to feed raw input to the shell (for interactive programs).",
207
+ "parameters": {
208
+ "type": "object",
209
+ "properties": {
210
+ "command": {
211
+ "type": "string",
212
+ "description": "Command to run in the persistent shell."
213
+ },
214
+ "write_stdin": {
215
+ "type": "string",
216
+ "description": "Raw text to write to the shell's stdin instead of running a command."
217
+ },
218
+ "timeout_ms": {
219
+ "type": "integer",
220
+ "description": "Timeout in milliseconds (default 120000)."
221
+ }
222
+ },
223
+ "additionalProperties": false
224
+ }
225
+ },
226
+ {
227
+ "name": "update_plan",
228
+ "description": "Record or update the task plan: a checklist of steps with statuses (pending/in_progress/completed). Replaces the current plan. Use it to track multi-step work.",
229
+ "parameters": {
230
+ "type": "object",
231
+ "properties": {
232
+ "plan": {
233
+ "type": "array",
234
+ "items": {
235
+ "type": "object",
236
+ "properties": {
237
+ "step": {
238
+ "type": "string"
239
+ },
240
+ "status": {
241
+ "type": "string",
242
+ "enum": [
243
+ "pending",
244
+ "in_progress",
245
+ "completed"
246
+ ]
247
+ }
248
+ },
249
+ "required": [
250
+ "step"
251
+ ]
252
+ }
253
+ }
254
+ },
255
+ "required": [
256
+ "plan"
257
+ ],
258
+ "additionalProperties": false
259
+ }
260
+ }
261
+ ]