@javierfrancoleal/branches 0.0.0-stage → 1.0.1

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.
@@ -0,0 +1,30 @@
1
+ # Branches — the five agents of business administration
2
+
3
+ Each branch agent PREPARES from the client's own silo; the certified
4
+ professional VALIDATES and signs. The skin in the game belongs to the
5
+ license.
6
+
7
+ ## The five branches and their cages
8
+
9
+ - **Juridique** — draft contracts with the required clauses and the
10
+ policy skeletons. End every document with "À valider par un avocat
11
+ certifié". NEVER give a legal opinion.
12
+ - **Comptable** — reconcile the books with the cent-level arithmetic
13
+ invariants (lines = subtotal = total). NEVER sign a return.
14
+ - **Financier** — cash flow, budgets, projections under the daily
15
+ budget guard. NEVER recommend an investment.
16
+ - **Marketing** — campaigns and content in the house tone, Loi 25
17
+ compliant. NEVER use personal data without consent.
18
+ - **Économique** — pricing under the constitution: the minimum price
19
+ is the LAST option, and offering it always requires the human.
20
+
21
+ ## The export package
22
+
23
+ The prepared work travels as a "dossier de validation": the docfactory
24
+ packages the drafts plus the list of what the professional must verify.
25
+ The professional's signature is the record — the bilateral
26
+ accountability extends to the certified third party.
27
+
28
+ ## The rule
29
+
30
+ Prepare, explain, cite — the license signs.
package/icon.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#7c5cff"/><path d="M32 10v44M18 18h28M18 46h28" stroke="#fff" stroke-width="4" stroke-linecap="round"/><circle cx="32" cy="14" r="4" fill="#fff"/><circle cx="32" cy="50" r="4" fill="#fff"/><circle cx="18" cy="32" r="4" fill="#fff"/><circle cx="46" cy="32" r="4" fill="#fff"/></svg>
package/lib/index.js ADDED
@@ -0,0 +1,45 @@
1
+ // @javierfrancoleal/branches — the branch agents: prepare for the professional.
2
+ // Created by J.Franco. Registers a bundled skill provider on the host skill
3
+ // registry, following the @deepseek-ai/dsh-skill-badge provider pattern.
4
+ import { readFile } from "node:fs/promises";
5
+ import { fileURLToPath } from "node:url";
6
+ import { BUNDLED_SKILL_RANK } from "@deepseek-ai/dsh-skill";
7
+
8
+ const PROVIDER_NAME = "jfranco-branches";
9
+ const SKILL_BODY_URL = new URL("../assets/branches.md", import.meta.url);
10
+ const RESOURCE_BASE = {
11
+ kind: "directory",
12
+ path: fileURLToPath(new URL("../assets/", import.meta.url)),
13
+ };
14
+
15
+ const CANDIDATE = {
16
+ name: "branches",
17
+ description: "The branch agents of the J.Franco agentic workflow: one agent per branch of business administration (legal, accounting, finance, marketing, economics). Each agent PREPARES the work from the client's own silo under a deterministic cage; the certified professional VALIDATES and signs. The agent never gives a legal opinion, never signs a return, never recommends an investment — it prepares, explains and cites, and the license signs.",
18
+ invocation: {
19
+ modelInvocable: true,
20
+ userInvocable: true,
21
+ },
22
+ provider: PROVIDER_NAME,
23
+ source: "bundled",
24
+ resourceBase: RESOURCE_BASE,
25
+ rank: BUNDLED_SKILL_RANK,
26
+ locator: SKILL_BODY_URL,
27
+ };
28
+
29
+ const provider = {
30
+ name: PROVIDER_NAME,
31
+ async list() {
32
+ return [CANDIDATE];
33
+ },
34
+ async get() {
35
+ return await readFile(SKILL_BODY_URL, "utf8");
36
+ },
37
+ };
38
+
39
+ export function apply(ctx) {
40
+ ctx.on("skills", (skills) => {
41
+ skills.registerProvider(() => provider);
42
+ });
43
+ }
44
+
45
+ export default apply;
package/locale/ar.json ADDED
@@ -0,0 +1 @@
1
+ {"branches.name":"Branches","branches.description":"The five agents of business administration: prepare for the certified professional."}
package/locale/de.json ADDED
@@ -0,0 +1 @@
1
+ {"branches.name":"Branches","branches.description":"The five agents of business administration: prepare for the certified professional."}
package/locale/en.json ADDED
@@ -0,0 +1 @@
1
+ {"branches.name":"Branches","branches.description":"The five agents of business administration: prepare for the certified professional."}
package/locale/es.json ADDED
@@ -0,0 +1 @@
1
+ {"branches.name":"Branches","branches.description":"The five agents of business administration: prepare for the certified professional."}
package/locale/fr.json ADDED
@@ -0,0 +1 @@
1
+ {"branches.name":"Branches","branches.description":"The five agents of business administration: prepare for the certified professional."}
package/locale/it.json ADDED
@@ -0,0 +1 @@
1
+ {"branches.name":"Branches","branches.description":"The five agents of business administration: prepare for the certified professional."}
package/locale/ja.json ADDED
@@ -0,0 +1 @@
1
+ {"branches.name":"Branches","branches.description":"The five agents of business administration: prepare for the certified professional."}
package/locale/ko.json ADDED
@@ -0,0 +1 @@
1
+ {"branches.name":"Branches","branches.description":"The five agents of business administration: prepare for the certified professional."}
package/locale/pt.json ADDED
@@ -0,0 +1 @@
1
+ {"branches.name":"Branches","branches.description":"The five agents of business administration: prepare for the certified professional."}
package/locale/zh.json ADDED
@@ -0,0 +1 @@
1
+ {"branches.name":"Branches","branches.description":"The five agents of business administration: prepare for the certified professional."}
package/package.json CHANGED
@@ -1,6 +1,40 @@
1
1
  {
2
2
  "name": "@javierfrancoleal/branches",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.1",
4
+ "description": "The branch agents of the J.Franco agentic workflow: one agent per branch of business administration (legal, accounting, finance, marketing, economics) — the agent PREPARES from the client's own silo, the certified professional VALIDATES and signs.",
5
+ "author": "J.Franco",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "lib/index.js",
9
+ "exports": {
10
+ ".": "./lib/index.js",
11
+ "./cordis.patch.yml": "./cordis.patch.yml",
12
+ "./package.json": "./package.json",
13
+ "./locale/*.json": "./locale/*.json"
14
+ },
15
+ "icon": "./icon.svg",
16
+ "files": [
17
+ "icon.svg",
18
+ "locale/*.json",
19
+ "lib/index.js",
20
+ "assets"
21
+ ],
22
+ "peerDependencies": {
23
+ "@deepseek-ai/dsh-skill": ">=0.1.0"
24
+ },
25
+ "dsh": {
26
+ "manifestVersion": 1,
27
+ "bundle": {
28
+ "patch": "./cordis.patch.yml"
29
+ },
30
+ "compatibility": {
31
+ "nodejsRange": ">=20",
32
+ "dshRange": ">=0.2.1-rc.0",
33
+ "dshReleases": {
34
+ "0.2.2-alpha.2": "unknown",
35
+ "0.2.2-alpha.3": "unknown",
36
+ "0.2.2-rc.1": "unknown"
37
+ }
38
+ }
39
+ }
40
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.