robisie 0.5.46 → 0.5.47

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Historia zmian klienta / Client changelog
2
2
 
3
+ ## [0.5.47](https://github.com/chuppa12/robisie-app/compare/client-v0.5.46...client-v0.5.47) (2026-11-16)
4
+
5
+
6
+ ### Factory Cards
7
+
8
+ * praca workera task-mwixhhhn-z0hhj3 (auto-commit) ([af878e9](https://github.com/chuppa12/robisie-app/commit/af878e9afe2ed648c39aa7c01edcc337ca0c1221))
9
+
3
10
  ## [0.5.46](https://github.com/chuppa12/robisie-app/compare/client-v0.5.45...client-v0.5.46) (2026-11-16)
4
11
 
5
12
 
@@ -1,6 +1,6 @@
1
1
  /** Package identity and the server contract it speaks. */
2
2
  export declare const PACKAGE_NAME = "robisie";
3
- export declare const PACKAGE_VERSION = "0.5.46";
3
+ export declare const PACKAGE_VERSION = "0.5.47";
4
4
  /**
5
5
  * MAJOR of the agent-API contract this package understands.
6
6
  * PARITY: src/lib/mcp/contract-version.ts (AGENT_API_CONTRACT_VERSION) on the server.
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /** Package identity and the server contract it speaks. */
2
2
  export const PACKAGE_NAME = "robisie";
3
- export const PACKAGE_VERSION = "0.5.46"; // x-release-please-version
3
+ export const PACKAGE_VERSION = "0.5.47"; // x-release-please-version
4
4
  /**
5
5
  * MAJOR of the agent-API contract this package understands.
6
6
  * PARITY: src/lib/mcp/contract-version.ts (AGENT_API_CONTRACT_VERSION) on the server.
@@ -1 +1 @@
1
- {"schema":1,"sha":"90e87ee0c0c52ba1cc46739c1e5ecf3cfdde2027","dirty":false}
1
+ {"schema":1,"sha":"1db2b153c8e868fd5a4e1c0c09592eb8657270ac","dirty":false}
@@ -1725,6 +1725,6 @@
1725
1725
  "status": 0,
1726
1726
  "signal": null,
1727
1727
  "stdout": "v24.3.0\n",
1728
- "stderr": "(node:22086) ExperimentalWarning: SQLite is an experimental feature and might change at any time\n(Use `node --trace-warnings ...` to show where the warning was created)\n"
1728
+ "stderr": "(node:22007) ExperimentalWarning: SQLite is an experimental feature and might change at any time\n(Use `node --trace-warnings ...` to show where the warning was created)\n"
1729
1729
  }
1730
1730
  }
@@ -37652,7 +37652,7 @@ var init_constants = __esm({
37652
37652
  "packages/client/src/constants.ts"() {
37653
37653
  "use strict";
37654
37654
  PACKAGE_NAME = "robisie";
37655
- PACKAGE_VERSION = "0.5.46";
37655
+ PACKAGE_VERSION = "0.5.47";
37656
37656
  SUPPORTED_CONTRACT_MAJOR = 1;
37657
37657
  DEFAULT_ORIGIN = "https://robisie.app";
37658
37658
  MCP_SERVER_NAME = "robisie";
@@ -81634,6 +81634,12 @@ var init_done_when_roles = __esm({
81634
81634
  });
81635
81635
 
81636
81636
  // maszynista/seed-bridge.ts
81637
+ function provenanceObject(value) {
81638
+ if (value == null || value === "") return {};
81639
+ const parsed = typeof value === "string" ? JSON.parse(value) : value;
81640
+ if (!record14(parsed)) throw new Error("seed_provenance/authoring_providers: oczekiwano obiektu");
81641
+ return parsed;
81642
+ }
81637
81643
  function generationOf(details2) {
81638
81644
  const raw = record14(details2.seed_obligation) ? details2.seed_obligation.generation : void 0;
81639
81645
  if (raw === void 0) return 0;
@@ -81692,6 +81698,23 @@ function verify(cardsRoot, card, dir, odbior) {
81692
81698
  if (k.quality_lane !== "LIGHT" && k.quality_lane !== "CAREFUL") return "kontrakt: quality_lane";
81693
81699
  if (k.card_class !== "executable" && k.card_class !== "non_executable") return "kontrakt: card_class";
81694
81700
  if (!["low", "medium", "high"].includes(String(k.codex_effort))) return "kontrakt: codex_effort";
81701
+ let provenance;
81702
+ try {
81703
+ localEffectCheck({ id: card.id, title: card.title, details: { done_when: k.done_when, effect_check: k.effect_check } });
81704
+ const effect = JSON.parse(String(k.effect_check));
81705
+ if (!record14(effect) || effect.source !== `produkt/${card.id}/usage.jsonl`) throw new Error("effect_check: obcy source");
81706
+ const authors = record14(k.seed_provenance) && record14(k.seed_provenance.authoring_providers) ? k.seed_provenance.authoring_providers : {};
81707
+ const roles = ["by", "proposal_by", "packager_by"];
81708
+ if (roles.some((role3) => typeof authors[role3] !== "string" || !["openai", "anthropic", "xai", "google", "moonshot", "deepseek", "alibaba", "minimax", "zhipu"].includes(authors[role3])))
81709
+ throw new Error("seed_provenance.authoring_providers: trzy kanoniczne role autorstwa");
81710
+ provenance = provenanceObject(details2.seed_provenance);
81711
+ provenance = { ...provenance, authoring_providers: {
81712
+ ...provenanceObject(provenance.authoring_providers),
81713
+ ...Object.fromEntries(roles.map((role3) => [role3, authors[role3]]))
81714
+ } };
81715
+ } catch (error48) {
81716
+ return `kontrakt: ${errorText3(error48)}`;
81717
+ }
81695
81718
  const declared = details2.card_class;
81696
81719
  if (nonempty2(declared) && declared !== k.card_class) return `card_class rozbie\u017Cny (karta ${declared}, kontrakt ${k.card_class}) \u2014 zadeklarowanego nie zmieniam`;
81697
81720
  const odbiorPath = import_node_path31.default.join(dir, "50-odbior.json");
@@ -81710,6 +81733,7 @@ function verify(cardsRoot, card, dir, odbior) {
81710
81733
  codex_effort: k.codex_effort,
81711
81734
  done_when: k.done_when,
81712
81735
  effect_check: k.effect_check,
81736
+ seed_provenance: provenance,
81713
81737
  ...typeof k.servesGoal === "string" && /^#[123]$/.test(k.servesGoal) ? { servesGoal: k.servesGoal } : {},
81714
81738
  ...nonempty2(declared) ? {} : { card_class: k.card_class }
81715
81739
  };
@@ -81807,6 +81831,7 @@ var init_seed_bridge = __esm({
81807
81831
  import_node_fs30 = require("node:fs");
81808
81832
  import_node_path31 = __toESM(require("node:path"));
81809
81833
  import_node_util9 = require("node:util");
81834
+ init_local_receiver();
81810
81835
  init_done_when_roles();
81811
81836
  init_lib();
81812
81837
  BRIDGE_DETAILS_KEYS = ["seed_obligation", "reksio_withheld", "hold", "superseded_by"];
package/dist/roles.d.ts CHANGED
@@ -17,7 +17,7 @@ export interface Role {
17
17
  export declare function rolesDir(): string;
18
18
  export declare function parseRole(file: Role["file"], text: string): Role;
19
19
  export declare function loadRoles(dir?: string): Role[];
20
- export declare const MANAGED_LINE = "<!-- robisie:managed 0.5.46 \u2014 plik zarz\u0105dzany przez `npx robisie`; `npx robisie uninstall` go usunie -->";
20
+ export declare const MANAGED_LINE = "<!-- robisie:managed 0.5.47 \u2014 plik zarz\u0105dzany przez `npx robisie`; `npx robisie uninstall` go usunie -->";
21
21
  export type AgentFlavor = "claude" | "codex" | "opencode";
22
22
  /** How the operator starts the Builder for one card in its own session (the card id is not a secret). */
23
23
  export declare function builderStartCommand(flavor: AgentFlavor, codexRolePath?: string): string;
package/docs/README.en.md CHANGED
@@ -1,4 +1,4 @@
1
- # robisie — from account to accepted card (package 0.5.46) <!-- x-release-please-version -->
1
+ # robisie — from account to accepted card (package 0.5.47) <!-- x-release-please-version -->
2
2
 
3
3
  In the project directory with its engine configuration, run `npx robisie init`, then `npx robisie doctor`: init prepares the project goal and tester protection list, and doctor checks both inputs.
4
4
 
package/docs/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # robisie — od konta do odebranej karty (paczka 0.5.46) <!-- x-release-please-version -->
1
+ # robisie — od konta do odebranej karty (paczka 0.5.47) <!-- x-release-please-version -->
2
2
 
3
3
  W katalogu projektu z konfiguracją silnika uruchom `npx robisie init`, potem `npx robisie doctor`: init przygotuje cel projektu i listę ochrony testera, a doctor sprawdzi oba wejścia.
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robisie",
3
- "version": "0.5.46",
3
+ "version": "0.5.47",
4
4
  "description": "Instalator klienta robisie: łączy agenta (Claude Code, Codex CLI, OpenCode) z tablicą robisie i instaluje role klienta.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",