code60-transmission-server 0.1.0-staging.2 → 0.1.0-staging.20
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/INTENT.md +47 -0
- package/README.md +58 -253
- package/dist/src/acp.js +115 -0
- package/dist/src/contract.js +108 -0
- package/dist/src/engine.js +596 -0
- package/dist/src/main.js +72 -22
- package/dist/src/repository.js +94 -0
- package/dist/src/service.js +188 -0
- package/package.json +16 -32
- package/reference/openapi.json +834 -0
- package/README.engine.md +0 -401
- package/dist/src/broker/filesystem.js +0 -385
- package/dist/src/broker/index.js +0 -734
- package/dist/src/broker/native/README.md +0 -192
- package/dist/src/broker/native/build.js +0 -43
- package/dist/src/broker/native/fs-helper.c +0 -529
- package/dist/src/broker/native/git-helper.c +0 -205
- package/dist/src/broker/policy.js +0 -149
- package/dist/src/broker/startup-lock.js +0 -14
- package/dist/src/broker/types.js +0 -11
- package/dist/src/cli/daemon.js +0 -365
- package/dist/src/cli/helpers.js +0 -104
- package/dist/src/cli/main.js +0 -180
- package/dist/src/config/deployment.js +0 -163
- package/dist/src/config/documents.js +0 -29
- package/dist/src/config/profile-validation.js +0 -123
- package/dist/src/config/schema-graph.js +0 -237
- package/dist/src/config/schema-loader.js +0 -185
- package/dist/src/config/validation-pool.js +0 -105
- package/dist/src/config/validation-protocol.js +0 -1
- package/dist/src/config/validation-worker.js +0 -106
- package/dist/src/config/workflow-language.js +0 -9
- package/dist/src/config/workflow-schema.json +0 -534
- package/dist/src/config/workflow-types.js +0 -1
- package/dist/src/config/workflow-validation.js +0 -95
- package/dist/src/engine/budgets.js +0 -50
- package/dist/src/engine/clocks.js +0 -27
- package/dist/src/engine/commands.js +0 -441
- package/dist/src/engine/contracts.js +0 -11
- package/dist/src/engine/drain-state.js +0 -31
- package/dist/src/engine/effective-permissions.js +0 -120
- package/dist/src/engine/instruction-pins.js +0 -205
- package/dist/src/engine/retries.js +0 -50
- package/dist/src/engine/state.js +0 -1
- package/dist/src/engine/timing.js +0 -23
- package/dist/src/engine/tool-observations.js +0 -87
- package/dist/src/engine/workflow-engine.js +0 -1807
- package/dist/src/mcp/catalog.js +0 -71
- package/dist/src/mcp/main.js +0 -24
- package/dist/src/mcp/server.js +0 -104
- package/dist/src/runtime/codex-app-server.js +0 -91
- package/dist/src/runtime/containment.js +0 -82
- package/dist/src/runtime/engine-driver.js +0 -212
- package/dist/src/runtime/json-line-writer.js +0 -192
- package/dist/src/runtime/pinned-instruction-sources.js +0 -24
- package/dist/src/runtime/protocol-client.js +0 -264
- package/dist/src/runtime/protocol-pool.js +0 -183
- package/dist/src/runtime/protocol-projection.js +0 -393
- package/dist/src/runtime/protocol-types.js +0 -1
- package/dist/src/runtime/protocol-worker.js +0 -18
- package/dist/src/runtime/provider-bridge.js +0 -288
- package/dist/src/runtime/provider-credentials.js +0 -41
- package/dist/src/runtime/provider-transport.js +0 -404
- package/dist/src/runtime/runtime-broker.js +0 -213
- package/dist/src/runtime/workspace-instructions.js +0 -120
- package/dist/src/runtime/workspace-view.js +0 -74
- package/dist/src/server/api-contract.json +0 -11078
- package/dist/src/server/api-types.js +0 -1
- package/dist/src/server/application.js +0 -38
- package/dist/src/server/auth.js +0 -67
- package/dist/src/server/broker-handlers.js +0 -242
- package/dist/src/server/control-plane.js +0 -50
- package/dist/src/server/deployment.js +0 -237
- package/dist/src/server/errors.js +0 -22
- package/dist/src/server/history-handlers.js +0 -113
- package/dist/src/server/http.js +0 -124
- package/dist/src/server/paging.js +0 -56
- package/dist/src/server/publication.js +0 -119
- package/dist/src/server/tool-event-handler.js +0 -77
- package/dist/src/server/workspace-handlers.js +0 -34
- package/dist/src/storage/coordinator.js +0 -224
- package/dist/src/storage/startup-lock.js +0 -71
- package/dist/src/storage/store.js +0 -167
- package/dist/src/tools/check-worker.js +0 -81
- package/dist/src/tools/checks.js +0 -106
- package/dist/src/tools/dns.js +0 -248
- package/dist/src/tools/http-contract.js +0 -38
- package/dist/src/tools/http.js +0 -358
- package/dist/src/tools/index.js +0 -177
- package/dist/src/tools/worker-check.js +0 -73
- package/dist/src/workspaces/git.js +0 -227
- package/dist/src/workspaces/index.js +0 -715
- package/examples/deployment.local.json +0 -22
- package/scripts/postinstall.mjs +0 -25
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"listenPort": 31260,
|
|
3
|
-
"operator": {
|
|
4
|
-
"id": "local-operator",
|
|
5
|
-
"workspaceIds": ["*"]
|
|
6
|
-
},
|
|
7
|
-
"runtime": {
|
|
8
|
-
"enabled": false,
|
|
9
|
-
"executable": "/REPLACE_WITH_ABSOLUTE_PATH_TO_CODEX",
|
|
10
|
-
"modelPort": 31261,
|
|
11
|
-
"models": [
|
|
12
|
-
{ "id": "REPLACE_WITH_LOCAL_MODEL_ID", "effortLevels": ["low"] }
|
|
13
|
-
]
|
|
14
|
-
},
|
|
15
|
-
"deploymentPolicy": { "defaultEffect": "deny", "rules": [] },
|
|
16
|
-
"agentHttp": {},
|
|
17
|
-
"schemaHttp": {
|
|
18
|
-
"networkPolicy": { "defaultEffect": "deny", "rules": [] }
|
|
19
|
-
},
|
|
20
|
-
"checks": [],
|
|
21
|
-
"deploymentRoots": []
|
|
22
|
-
}
|
package/scripts/postinstall.mjs
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { existsSync } from 'node:fs';
|
|
2
|
-
import { fileURLToPath } from 'node:url';
|
|
3
|
-
|
|
4
|
-
// Compile native macOS C helpers on npm/npx install without writing to stdout.
|
|
5
|
-
// In a source checkout before `npm run build`, `dist/` does not exist yet: exit quietly.
|
|
6
|
-
if (process.platform !== 'darwin') process.exit(0);
|
|
7
|
-
|
|
8
|
-
const nativeDir = new URL('../dist/src/broker/native/', import.meta.url);
|
|
9
|
-
const buildModule = new URL('build.js', nativeDir);
|
|
10
|
-
const fsSource = fileURLToPath(new URL('fs-helper.c', nativeDir));
|
|
11
|
-
const gitSource = fileURLToPath(new URL('git-helper.c', nativeDir));
|
|
12
|
-
|
|
13
|
-
if (!existsSync(fileURLToPath(buildModule)) || !existsSync(fsSource) || !existsSync(gitSource)) {
|
|
14
|
-
process.exit(0);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
process.umask(0o077);
|
|
18
|
-
try {
|
|
19
|
-
const { buildFilesystemHelper, buildGitHelper } = await import(buildModule.href);
|
|
20
|
-
buildFilesystemHelper();
|
|
21
|
-
buildGitHelper();
|
|
22
|
-
} catch (error) {
|
|
23
|
-
const message = error instanceof Error ? error.message : String(error);
|
|
24
|
-
process.stderr.write(`code60-transmission-server: native helper build skipped during install (${message}).\n`);
|
|
25
|
-
}
|