@howaboua/pi-durable-sites 0.10.0 → 0.13.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/NOTICE +4 -0
- package/README.md +2 -2
- package/dist/activation.js +451 -230
- package/dist/index.js +451 -230
- package/dist/packages/sites/src/auth.d.ts +1 -1
- package/dist/packages/sites/src/client.d.ts +3 -0
- package/dist/packages/sites/src/documentation.d.ts +1 -1
- package/dist/packages/sites/src/facade.d.ts +15 -2
- package/dist/packages/sites/src/index.d.ts +24 -8
- package/dist/packages/sites/src/local-project.d.ts +7 -2
- package/dist/packages/sites/src/native-git.d.ts +1 -8
- package/dist/packages/sites/src/operations.d.ts +1 -1
- package/dist/packages/sites/src/source-git.d.ts +16 -0
- package/package.json +7 -7
package/NOTICE
CHANGED
|
@@ -18,3 +18,7 @@ Modified for Durable-native ordinary tool registrations, Models OAuth,
|
|
|
18
18
|
explicit namespace-matched filesystem and Git capabilities, owned execution,
|
|
19
19
|
bundled documentation and bounded, non-retrying transport failures.
|
|
20
20
|
No Pi ExtensionAPI, TUI, compatibility wrapper or upstream runtime is included.
|
|
21
|
+
|
|
22
|
+
Selected changes adapted from IgorWarzocha/howaboua-agent-stuff,
|
|
23
|
+
packages/pi-chatgpt-sites at e1730759db35bf454d0c86c34a80e63129dd929f.
|
|
24
|
+
See docs/parity.md for the scope of this source sync.
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Manage Sites, save committed source and deploy explicitly as private or shared.
|
|
|
5
5
|
Register ordinary Durable tools. Code and Notebook discover them automatically.
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
npm install
|
|
8
|
+
npm install @howaboua/pi-durable-sites@0.13.0
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
```ts
|
|
@@ -38,7 +38,7 @@ The native project capability accepts only Durable's local `NodeExecutionEnv`. O
|
|
|
38
38
|
|
|
39
39
|
Returns help without authentication or filesystem access. Call `sites_documentation({"topic":"version.save"})` for the current schema. Calls use `{resource, action, params}`. Omitted `project_id` comes from `.openai/hosting.json`. `params.project_dir` selects a project root.
|
|
40
40
|
|
|
41
|
-
1. Reuse the bound project
|
|
41
|
+
1. Reuse the bound project. For an existing Site without a local checkout, call `site.open` with its exact `project_id` and a new `project_dir`. For a new Site, call `site.create` once. Commit the returned binding and intended source.
|
|
42
42
|
2. Call `version.save` or `version.publish_private` with a clean worktree, including untracked files. These push exact committed HEAD, never caller-supplied commits or archives. Git hooks and automatic publication on push are disabled.
|
|
43
43
|
3. Call `deployment.deploy` with `visibility: "private"` or `"shared"` and the saved version ID. The facade never silently chooses shared deployment or widens access.
|
|
44
44
|
|