@xera-ai/skills 0.14.0 → 0.15.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 +6 -0
- package/package.json +1 -1
- package/xera-script.md +3 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @xera-ai/skills
|
|
2
2
|
|
|
3
|
+
## 0.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#123](https://github.com/xera-ai/xera/pull/123) [`e2f8694`](https://github.com/xera-ai/xera/commit/e2f8694017cc06f00515d8dc605ec7c2a8634925) Thanks [@thanhtrinity](https://github.com/thanhtrinity)! - deterministic OpenAPI loading + opt-in sample tickets (auto-generated from [#123](https://github.com/xera-ai/xera/issues/123))
|
|
8
|
+
|
|
3
9
|
## 0.14.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/package.json
CHANGED
package/xera-script.md
CHANGED
|
@@ -19,12 +19,9 @@ The user invoked `/xera-script <TICKET>`. If no key, ask.
|
|
|
19
19
|
|
|
20
20
|
Follow that prompt's hard rules.
|
|
21
21
|
|
|
22
|
-
When `adapter === "http"
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
- Pass the dereferenced operation schema to your generation context as the `openapi` input.
|
|
26
|
-
|
|
27
|
-
When `adapter === "http"` and no `http.spec`: pass `openapi: null` to your generation context.
|
|
22
|
+
When `adapter === "http"`, additionally:
|
|
23
|
+
- Run `bun run xera:openapi-resolve {{TICKET}}` — this writes `.xera/{{TICKET}}/openapi-input.json`, a deterministic JSON file containing `{ openapi: <dereferenced doc> | null }`. The subcommand handles path/URL resolution and `$ref` dereferencing for you; never read the raw OpenAPI file yourself.
|
|
24
|
+
- Read `.xera/{{TICKET}}/openapi-input.json` and pass the value of its `openapi` field to your generation context as the `openapi` input (it will be `null` when `http.spec` is not configured or the spec failed to load).
|
|
28
25
|
|
|
29
26
|
5. Before reading the test.feature + story.md content into your generation context, mint a fresh per-invocation nonce by running:
|
|
30
27
|
|