@owlmeans/planning 0.1.18-rc.4 → 0.1.18-rc.6

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/README.md CHANGED
@@ -9,7 +9,7 @@ the executor with `@owlmeans/server-planning` and reads remotely with `@owlmeans
9
9
  ## Installation
10
10
 
11
11
  ```sh
12
- bun add @owlmeans/planning@^0.1.18-rc.4 ajv ajv-formats
12
+ bun add @owlmeans/planning@^0.1.18-rc.6 ajv ajv-formats
13
13
  ```
14
14
 
15
15
  ## Concepts
@@ -158,7 +158,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
158
158
  your project's skill store (`.agents/skills/`):
159
159
 
160
160
  ```sh
161
- npx @owlmeans/agent-skills@^0.1.18-rc.32
161
+ npx @owlmeans/agent-skills@^0.1.18-rc.34
162
162
  ```
163
163
 
164
164
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "@owlmeans/planning",
4
- "version": "0.1.18-rc.4",
5
- "generatedAt": "2026-09-22T12:36:21.833Z",
4
+ "version": "0.1.18-rc.6",
5
+ "generatedAt": "2026-09-22T20:45:24.053Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -8,7 +8,7 @@ user-invocable: false
8
8
  # @owlmeans/planning
9
9
 
10
10
  **Layer:** Cross-cutting domain
11
- **Install:** `"@owlmeans/planning": "^0.1.18-rc.4"` in `dependencies` (`ajv` and `ajv-formats` are peers)
11
+ **Install:** `"@owlmeans/planning": "^0.1.18-rc.6"` in `dependencies` (`ajv` and `ajv-formats` are peers)
12
12
 
13
13
  The contracts of project planning: record shapes, schemas, refusals, the protocol tree, the pure
14
14
  fold and the models. No database, no fastify, no React. The executor, the plugin registry, the
@@ -0,0 +1,25 @@
1
+ import type { Config, JobOptions, QueueWorkerOptions } from '@owlmeans/queue';
2
+ /**
3
+ * The projection queue — a separate subpath so a browser bundle importing `@owlmeans/planning`
4
+ * never pulls `@owlmeans/queue`.
5
+ *
6
+ * The projection is a BARE processor, not a queued entrypoint: a queued entrypoint names one
7
+ * service, and the same queue is served by every process that folds.
8
+ */
9
+ export declare const PLANNING_PROJECTION_QUEUE = "planning-projection";
10
+ /** The one job the projection queue accepts. */
11
+ export declare const PLANNING_PROJECT_JOB = "planning:project";
12
+ /** What one projection job folds. */
13
+ export interface ProjectionRequest {
14
+ cardId: string;
15
+ entityId: string;
16
+ /** The transition that asked for it — a hint, never the fold's bound. */
17
+ transition?: string;
18
+ }
19
+ export interface PlanningQueueOptions {
20
+ worker?: QueueWorkerOptions;
21
+ defaults?: JobOptions;
22
+ }
23
+ /** Declare the projection queue in the SHARED config; `listenQueues` stays each process's own. */
24
+ export declare const declarePlanningQueue: <C extends Config>(cfg: C, opts?: PlanningQueueOptions) => C;
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/queue/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAE7E;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,wBAAwB,CAAA;AAE9D,gDAAgD;AAChD,eAAO,MAAM,oBAAoB,qBAAqB,CAAA;AAEtD,qCAAqC;AACrC,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,yEAAyE;IACzE,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,kBAAkB,CAAA;IAC3B,QAAQ,CAAC,EAAE,UAAU,CAAA;CACtB;AAED,kGAAkG;AAClG,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS,MAAM,OAAO,CAAC,SAAS,oBAAoB,KAAG,CACjB,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { declareQueue } from '@owlmeans/queue';
2
+ /**
3
+ * The projection queue — a separate subpath so a browser bundle importing `@owlmeans/planning`
4
+ * never pulls `@owlmeans/queue`.
5
+ *
6
+ * The projection is a BARE processor, not a queued entrypoint: a queued entrypoint names one
7
+ * service, and the same queue is served by every process that folds.
8
+ */
9
+ export const PLANNING_PROJECTION_QUEUE = 'planning-projection';
10
+ /** The one job the projection queue accepts. */
11
+ export const PLANNING_PROJECT_JOB = 'planning:project';
12
+ /** Declare the projection queue in the SHARED config; `listenQueues` stays each process's own. */
13
+ export const declarePlanningQueue = (cfg, opts) => declareQueue(cfg, PLANNING_PROJECTION_QUEUE, [PLANNING_PROJECT_JOB], opts);
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/queue/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAG9C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,qBAAqB,CAAA;AAE9D,gDAAgD;AAChD,MAAM,CAAC,MAAM,oBAAoB,GAAG,kBAAkB,CAAA;AAetD,kGAAkG;AAClG,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAmB,GAAM,EAAE,IAA2B,EAAK,EAAE,CAC/F,YAAY,CAAC,GAAG,EAAE,yBAAyB,EAAE,CAAC,oBAAoB,CAAC,EAAE,IAAI,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/planning",
3
- "version": "0.1.18-rc.4",
3
+ "version": "0.1.18-rc.6",
4
4
  "license": "MIT",
5
5
  "description": "Runtime-free project-planning contracts — the workcard super type, projects, specifications, typed relationships, status flows with three intrinsic states, the transition event and its pure fold, the schema registry, the models and the protocol tree.",
6
6
  "type": "module",
@@ -23,14 +23,14 @@
23
23
  }
24
24
  },
25
25
  "dependencies": {
26
- "@owlmeans/auth": "^0.1.18-rc.30",
27
- "@owlmeans/basic-ids": "^0.1.18-rc.29",
28
- "@owlmeans/context": "^0.1.18-rc.28",
29
- "@owlmeans/entrypoint": "^0.1.18-rc.31",
30
- "@owlmeans/error": "^0.1.18-rc.30",
31
- "@owlmeans/i18n": "^0.1.18-rc.31",
32
- "@owlmeans/resource": "^0.1.18-rc.30",
33
- "@owlmeans/route": "^0.1.18-rc.29"
26
+ "@owlmeans/auth": "^0.1.18-rc.32",
27
+ "@owlmeans/basic-ids": "^0.1.18-rc.31",
28
+ "@owlmeans/context": "^0.1.18-rc.30",
29
+ "@owlmeans/entrypoint": "^0.1.18-rc.33",
30
+ "@owlmeans/error": "^0.1.18-rc.32",
31
+ "@owlmeans/i18n": "^0.1.18-rc.33",
32
+ "@owlmeans/resource": "^0.1.18-rc.32",
33
+ "@owlmeans/route": "^0.1.18-rc.31"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "ajv": "*",