@zackbart/connecta 0.19.0 → 0.20.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/CHANGELOG.md +58 -0
- package/dist/apps-shell.d.ts +10 -12
- package/dist/apps-shell.js +29 -220
- package/dist/execute.d.ts +0 -7
- package/dist/execute.js +8 -117
- package/dist/index.js +108 -67
- package/dist/invocation.d.ts +1 -1
- package/dist/meta-tools.d.ts +0 -1
- package/dist/meta-tools.js +8 -493
- package/dist/operator-ui/generated.d.ts +2 -2
- package/dist/skills.d.ts +1 -1
- package/dist/skills.js +5 -5
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/documentation/code-mode.md +19 -19
- package/documentation/meta-tools.md +4 -30
- package/documentation/operations.md +13 -13
- package/documentation/provider-conventions.md +3 -4
- package/documentation/upgrading.md +34 -8
- package/ethos.md +1 -1
- package/package.json +1 -1
- package/templates/node/package.json +1 -1
|
@@ -57,7 +57,7 @@ exist so far:
|
|
|
57
57
|
| --- | --- | --- |
|
|
58
58
|
| **pre-template** | before 0.10.2 | no `connecta init` existed; hand-written, or copied from the retired `examples/node` |
|
|
59
59
|
| **A** | 0.10.2 – 0.15.1 | `.env.example`, `.gitignore`, `AGENTS.md`, `CLAUDE.md`, `README.md`, `package.json`, `src/index.ts`, `tsconfig.json` |
|
|
60
|
-
| **B** | 0.16.0 – 0.
|
|
60
|
+
| **B** | 0.16.0 – 0.20.0 | adds `.dockerignore`, `Dockerfile`, `docker-compose.yml`, and `src/file-activity.ts`; `src/index.ts` grows the four commented operator blocks; `.env.example` ships `CONNECTA_TOKEN=` empty |
|
|
61
61
|
|
|
62
62
|
Generation A is a decade in template years and identifying it precisely does
|
|
63
63
|
not matter, because you are about to reconstruct it exactly rather than guess
|
|
@@ -106,7 +106,7 @@ know what to preserve, once to know what to re-verify at the end.
|
|
|
106
106
|
### Bump the pin and install
|
|
107
107
|
|
|
108
108
|
```sh
|
|
109
|
-
npm pkg set dependencies.@zackbart/connecta=0.
|
|
109
|
+
npm pkg set dependencies.@zackbart/connecta=0.20.0
|
|
110
110
|
npm install
|
|
111
111
|
```
|
|
112
112
|
|
|
@@ -130,7 +130,7 @@ Generate the *current* template beside the base you already made, into the same
|
|
|
130
130
|
`$SCRATCH`:
|
|
131
131
|
|
|
132
132
|
```sh
|
|
133
|
-
(cd "$SCRATCH" && npx @zackbart/connecta@0.
|
|
133
|
+
(cd "$SCRATCH" && npx @zackbart/connecta@0.20.0 init current)
|
|
134
134
|
```
|
|
135
135
|
|
|
136
136
|
You now have a three-way merge with a real base: `$SCRATCH/base` is what this
|
|
@@ -186,7 +186,7 @@ A deployment older than 0.10.2 has no base to diff against. Do not try to
|
|
|
186
186
|
manufacture one. Instead:
|
|
187
187
|
|
|
188
188
|
1. `SCRATCH=$(mktemp -d)`, then
|
|
189
|
-
`(cd "$SCRATCH" && npx @zackbart/connecta@0.
|
|
189
|
+
`(cd "$SCRATCH" && npx @zackbart/connecta@0.20.0 init current)` — there is no
|
|
190
190
|
`base` leg here, only the current template to read from.
|
|
191
191
|
2. Copy `$SCRATCH/current` into the deployment file by file, **skipping
|
|
192
192
|
`src/index.ts`**.
|
|
@@ -207,6 +207,30 @@ first, so cross them bottom-up: start at the oldest one still above this
|
|
|
207
207
|
deployment's pin and work back up the page, because each boundary assumes the
|
|
208
208
|
older ones are already done.
|
|
209
209
|
|
|
210
|
+
### 0.19.0 → 0.20.0
|
|
211
|
+
|
|
212
|
+
Three intake paths become deliberately strict. None changes storage, the two
|
|
213
|
+
deployment shapes, or the exact seven-tool MCP surface.
|
|
214
|
+
|
|
215
|
+
- `createConnecta` now rejects every unknown own configuration property by its
|
|
216
|
+
complete path. Remove typos and options retired before 0.19, including the
|
|
217
|
+
top-level `toolkits`, `credentialHealth`, `surface`, and `maxResultBytes`,
|
|
218
|
+
plus `credentials.health` and `calls.maxBatchResultBytes`. Connector, auth,
|
|
219
|
+
storage, activity-store, logger, deployment-metadata, and executor
|
|
220
|
+
implementations remain open objects; their implementation-specific fields
|
|
221
|
+
are not configuration typos.
|
|
222
|
+
- `call_tool` and `call_destructive_tool` no longer accept `fields`. Put
|
|
223
|
+
projection in one `execute_code` program. For a legitimate oversized direct
|
|
224
|
+
read, call without `fields` and follow the returned `get_result` action; that
|
|
225
|
+
paging path remains part of the seven-tool surface.
|
|
226
|
+
- `connecta.ui` accepts one HTML string and is display-only. Remove its second
|
|
227
|
+
read-binding argument and any page calls to `connecta.read`. Fetch and shape
|
|
228
|
+
data in the program before rendering, then return the same compact summary
|
|
229
|
+
the view initially displays. Views cannot call any Connecta tool.
|
|
230
|
+
|
|
231
|
+
The Node template layout remains generation B. Reconcile it as usual after the
|
|
232
|
+
version bump; no new deployment file or environment variable is required.
|
|
233
|
+
|
|
210
234
|
### 0.18.3 → 0.19.0
|
|
211
235
|
|
|
212
236
|
Nothing changes for a deployment. Bump the version and reconcile the template
|
|
@@ -451,9 +475,11 @@ built-in routes miss, so it can add a route and never shadow one
|
|
|
451
475
|
|
|
452
476
|
### Removed options that throw
|
|
453
477
|
|
|
454
|
-
These fail at construction
|
|
455
|
-
|
|
456
|
-
|
|
478
|
+
These fail at construction rather than falling back to a default, because
|
|
479
|
+
silently ignoring a removed option is how a deployment runs a policy its config
|
|
480
|
+
file says it has. Releases through 0.19 name the migration in the error. Version
|
|
481
|
+
0.20's strict configuration boundary names the unknown path; this table remains
|
|
482
|
+
the migration map:
|
|
457
483
|
|
|
458
484
|
| Option | Removed in | Do |
|
|
459
485
|
| --- | --- | --- |
|
|
@@ -461,7 +487,7 @@ ends up running a policy its config file says it has:
|
|
|
461
487
|
| `credentials.health`, `credentialHealth` | 0.8.1 (#179) | delete; credentials fail at use |
|
|
462
488
|
| `surface` | 0.11.0 (#273) | delete; there is one seven-tool surface |
|
|
463
489
|
| `calls.maxBatchResultBytes` | 0.11.0 (#273) | delete; program batching is bounded by `execute_code`'s own limits |
|
|
464
|
-
| flat v0.6 config paths | 0.7.0 | move into their groups
|
|
490
|
+
| flat v0.6 config paths | 0.7.0 | move into their groups ([operations](./operations.md#configuration)) |
|
|
465
491
|
|
|
466
492
|
## Verify
|
|
467
493
|
|
package/ethos.md
CHANGED
|
@@ -78,7 +78,7 @@ CHANGELOG, not here.
|
|
|
78
78
|
| MRTR / `input_required` passthrough | gated | relayable statelessly; no host or downstream emits it yet ([#176](https://github.com/zackbart/connecta/issues/176)) |
|
|
79
79
|
| Downstream `ttlMs` cache hints | gated | needs refresh-churn evidence ([#206](https://github.com/zackbart/connecta/issues/206)) |
|
|
80
80
|
| Downstream MCP Apps template passthrough | gated | needs a downstream that ships one ([#266](https://github.com/zackbart/connecta/issues/266)) |
|
|
81
|
-
|
|
|
81
|
+
| Program UI tool calls | removed | the read bridge added a second contract without improving agent data retrieval; views are display-only again ([#287](https://github.com/zackbart/connecta/issues/287), [#484](https://github.com/zackbart/connecta/issues/484)) |
|
|
82
82
|
|
|
83
83
|
## Invariants
|
|
84
84
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zackbart/connecta",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"description": "One MCP to rule them all — a single MCP endpoint aggregating many downstream connectors behind a code-first surface of seven meta-tools.",
|