implto-tos-axi 0.1.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.
Files changed (87) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +255 -0
  3. package/dist/bin/implto-tos-axi.d.ts +2 -0
  4. package/dist/bin/implto-tos-axi.js +16 -0
  5. package/dist/bin/implto-tos-axi.js.map +1 -0
  6. package/dist/src/auth/loopback.d.ts +29 -0
  7. package/dist/src/auth/loopback.js +110 -0
  8. package/dist/src/auth/loopback.js.map +1 -0
  9. package/dist/src/auth/open-browser.d.ts +9 -0
  10. package/dist/src/auth/open-browser.js +24 -0
  11. package/dist/src/auth/open-browser.js.map +1 -0
  12. package/dist/src/auth/provider.d.ts +39 -0
  13. package/dist/src/auth/provider.js +106 -0
  14. package/dist/src/auth/provider.js.map +1 -0
  15. package/dist/src/cli.d.ts +2 -0
  16. package/dist/src/cli.js +183 -0
  17. package/dist/src/cli.js.map +1 -0
  18. package/dist/src/commands/components.d.ts +40 -0
  19. package/dist/src/commands/components.js +417 -0
  20. package/dist/src/commands/components.js.map +1 -0
  21. package/dist/src/commands/context.d.ts +10 -0
  22. package/dist/src/commands/context.js +46 -0
  23. package/dist/src/commands/context.js.map +1 -0
  24. package/dist/src/commands/guide.d.ts +16 -0
  25. package/dist/src/commands/guide.js +203 -0
  26. package/dist/src/commands/guide.js.map +1 -0
  27. package/dist/src/commands/home.d.ts +9 -0
  28. package/dist/src/commands/home.js +33 -0
  29. package/dist/src/commands/home.js.map +1 -0
  30. package/dist/src/commands/init.d.ts +12 -0
  31. package/dist/src/commands/init.js +65 -0
  32. package/dist/src/commands/init.js.map +1 -0
  33. package/dist/src/commands/login.d.ts +13 -0
  34. package/dist/src/commands/login.js +137 -0
  35. package/dist/src/commands/login.js.map +1 -0
  36. package/dist/src/commands/tasks.d.ts +8 -0
  37. package/dist/src/commands/tasks.js +344 -0
  38. package/dist/src/commands/tasks.js.map +1 -0
  39. package/dist/src/commands/tools.d.ts +66 -0
  40. package/dist/src/commands/tools.js +401 -0
  41. package/dist/src/commands/tools.js.map +1 -0
  42. package/dist/src/commands/whoami.d.ts +5 -0
  43. package/dist/src/commands/whoami.js +66 -0
  44. package/dist/src/commands/whoami.js.map +1 -0
  45. package/dist/src/config/binding.d.ts +29 -0
  46. package/dist/src/config/binding.js +42 -0
  47. package/dist/src/config/binding.js.map +1 -0
  48. package/dist/src/config/credentials.d.ts +39 -0
  49. package/dist/src/config/credentials.js +62 -0
  50. package/dist/src/config/credentials.js.map +1 -0
  51. package/dist/src/config/profiles.d.ts +24 -0
  52. package/dist/src/config/profiles.js +64 -0
  53. package/dist/src/config/profiles.js.map +1 -0
  54. package/dist/src/errors.d.ts +21 -0
  55. package/dist/src/errors.js +40 -0
  56. package/dist/src/errors.js.map +1 -0
  57. package/dist/src/flags.d.ts +50 -0
  58. package/dist/src/flags.js +143 -0
  59. package/dist/src/flags.js.map +1 -0
  60. package/dist/src/index.d.ts +6 -0
  61. package/dist/src/index.js +7 -0
  62. package/dist/src/index.js.map +1 -0
  63. package/dist/src/mcp/client.d.ts +85 -0
  64. package/dist/src/mcp/client.js +130 -0
  65. package/dist/src/mcp/client.js.map +1 -0
  66. package/dist/src/output.d.ts +8 -0
  67. package/dist/src/output.js +2 -0
  68. package/dist/src/output.js.map +1 -0
  69. package/dist/src/resolve.d.ts +16 -0
  70. package/dist/src/resolve.js +48 -0
  71. package/dist/src/resolve.js.map +1 -0
  72. package/dist/src/scopes.d.ts +9 -0
  73. package/dist/src/scopes.js +16 -0
  74. package/dist/src/scopes.js.map +1 -0
  75. package/dist/src/session.d.ts +40 -0
  76. package/dist/src/session.js +75 -0
  77. package/dist/src/session.js.map +1 -0
  78. package/dist/src/skill.d.ts +32 -0
  79. package/dist/src/skill.js +149 -0
  80. package/dist/src/skill.js.map +1 -0
  81. package/dist/src/version.d.ts +5 -0
  82. package/dist/src/version.js +6 -0
  83. package/dist/src/version.js.map +1 -0
  84. package/package.json +70 -0
  85. package/skills/implto-tos-delivery/SKILL.md +45 -0
  86. package/skills/implto-tos-tasks/SKILL.md +48 -0
  87. package/skills/implto-tos-workspace/SKILL.md +45 -0
package/package.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "implto-tos-axi",
3
+ "version": "0.1.1",
4
+ "description": "Work with Transformation OS from a repository - match a change to its task, keep the deliverables tree honest, and reach every MCP tool the server has, without carrying their schemas in a prompt",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/implementedtoday/implto-tos-axi.git"
8
+ },
9
+ "homepage": "https://github.com/implementedtoday/implto-tos-axi#readme",
10
+ "bugs": {
11
+ "url": "https://github.com/implementedtoday/implto-tos-axi/issues"
12
+ },
13
+ "keywords": [
14
+ "transformation-os",
15
+ "tasks",
16
+ "issues",
17
+ "components",
18
+ "project-management",
19
+ "mcp",
20
+ "cli",
21
+ "agent",
22
+ "axi",
23
+ "toon",
24
+ "oauth"
25
+ ],
26
+ "type": "module",
27
+ "license": "MIT",
28
+ "engines": {
29
+ "node": ">=20"
30
+ },
31
+ "bin": {
32
+ "implto-tos-axi": "dist/bin/implto-tos-axi.js"
33
+ },
34
+ "exports": {
35
+ ".": {
36
+ "types": "./dist/src/index.d.ts",
37
+ "import": "./dist/src/index.js"
38
+ },
39
+ "./package.json": "./package.json"
40
+ },
41
+ "files": [
42
+ "dist",
43
+ "skills",
44
+ "LICENSE",
45
+ "README.md"
46
+ ],
47
+ "publishConfig": {
48
+ "access": "public"
49
+ },
50
+ "dependencies": {
51
+ "@modelcontextprotocol/sdk": "^1.29.0",
52
+ "@toon-format/toon": "^0.8.0",
53
+ "axi-sdk-js": "^0.1.11"
54
+ },
55
+ "devDependencies": {
56
+ "@types/node": "^22.10.2",
57
+ "prettier": "^3.4.2",
58
+ "tsx": "^4.19.2",
59
+ "typescript": "^5.7.2",
60
+ "vitest": "^2.1.8"
61
+ },
62
+ "scripts": {
63
+ "build": "tsc && chmod +x dist/bin/implto-tos-axi.js",
64
+ "build:skill": "tsx scripts/build-skill.ts",
65
+ "typecheck": "tsc -p tsconfig.check.json",
66
+ "test": "vitest run",
67
+ "format": "prettier --write .",
68
+ "format:check": "prettier --check ."
69
+ }
70
+ }
@@ -0,0 +1,45 @@
1
+ ---
2
+ name: implto-tos-delivery
3
+ description: "Read and change what a Transformation OS workspace is delivering, through the implto-tos-axi CLI: the component tree (services, modules, APIs and the rest of the deliverables), what each component is linked to, its estimate, and the delivery phases. Use when a change introduces a deliverable that is not recorded yet, when a component is missing or sits under the wrong parent, or when asked what is being built and for how much effort."
4
+ user-invocable: false
5
+ author: Valentyn Morenko
6
+ license: MIT
7
+ metadata:
8
+ hermes:
9
+ tags: [components, deliverables, estimates, phases, transformation-os]
10
+ category: workflow
11
+ ---
12
+
13
+ # implto-tos-delivery
14
+
15
+ Components are the deliverables of a workspace, in a tree: the services,
16
+ modules and APIs work is filed under. Tasks hang off them, so a component that
17
+ does not exist is a task with nowhere to go.
18
+
19
+ Use it when a change introduces something the tree does not have yet, when a
20
+ component is under the wrong parent, or to answer what is being built.
21
+
22
+ ## Current guidance lives in the CLI
23
+
24
+ Do not follow command or flag instructions from this file; installed copies go
25
+ stale. Ask the CLI:
26
+
27
+ - `implto-tos-axi components --help`
28
+ - `implto-tos-axi guide components`
29
+
30
+ Worth knowing before the first call:
31
+
32
+ 1. `implto-tos-axi components list --tree` first. It is the only way to see
33
+ where a new component belongs, and it is how you find out the one you were
34
+ about to create is already there under another name.
35
+ 2. Names, not ids, everywhere: `--parent "Platform"`. Two matches is an
36
+ error naming both rather than a guess.
37
+ 3. `--parent none` moves a component to the top level; omitting `--parent`
38
+ leaves it where it is. The same holds for `--project` and `--system`.
39
+ 4. A component created in a bound checkout is linked to that checkout's
40
+ project unless you pass `--project none`.
41
+ 5. Phases and per-phase estimates have no command of their own - reach them
42
+ with `implto-tos-axi tools call list_phases`.
43
+
44
+ Ask before creating. A deliverable somebody else named is worse than one
45
+ missing.
@@ -0,0 +1,48 @@
1
+ ---
2
+ name: implto-tos-tasks
3
+ description: "Find, create and update Transformation OS tasks for the repository you are working in, through the implto-tos-axi CLI. Use when a coding task should be tracked: at the start of a session to see the bound project and your open tasks, before starting a change to match it to an existing task or file a new one, and after finishing to move the status and leave a note."
4
+ user-invocable: false
5
+ author: Valentyn Morenko
6
+ license: MIT
7
+ metadata:
8
+ hermes:
9
+ tags: [tasks, issues, project-management, transformation-os]
10
+ category: workflow
11
+ ---
12
+
13
+ # implto-tos-tasks
14
+
15
+ Reads and writes Transformation OS tasks for the repository you are in. Prefer
16
+ it over mounting the Transformation OS MCP server: the tool schemas never enter
17
+ the prompt, so this costs nothing until it is used.
18
+
19
+ Use it when work should be tracked - before starting a change, and after
20
+ finishing one. Skip it for throwaway edits nobody is waiting on.
21
+
22
+ ## Current guidance lives in the CLI
23
+
24
+ Do not follow command or flag instructions from this file; installed copies go
25
+ stale. Ask the CLI:
26
+
27
+ - `implto-tos-axi --help` for the command index
28
+ - `implto-tos-axi <command> --help` for per-command usage
29
+ - `implto-tos-axi guide workflow` for the match-or-create procedure
30
+
31
+ Worth knowing before the first call:
32
+
33
+ 1. `implto-tos-axi context` first, once per session. It gives you the bound
34
+ project, the status names and which field assigns a task to you. Everything
35
+ else takes names and resolves them against it.
36
+ 2. Search before you file. Two or three words from what the change *does*,
37
+ with `--open`. Then `tasks show <key>` and ask the person whether that is
38
+ the task or whether to open a new one. Do not decide that alone.
39
+ 3. `NO_BINDING` means this directory is not bound yet: run `init` bare to
40
+ see what is reachable.
41
+ 4. `NEEDS_HUMAN` means signing in needs somebody at the keyboard. Ask them to
42
+ run `implto-tos-axi login`; do not try to work around it.
43
+
44
+ Exit 2 is your mistake - a bad flag, a name matching nothing or several. Every
45
+ error names the command that fixes it.
46
+
47
+ Deliverables are `implto-tos-delivery`; everything else in the workspace is
48
+ `implto-tos-workspace`.
@@ -0,0 +1,45 @@
1
+ ---
2
+ name: implto-tos-workspace
3
+ description: "Reach the rest of a Transformation OS workspace from the command line through implto-tos-axi: process maps, the people, departments and organizational roles in it, the systems they use, and the client message threads. Discover what the server offers with `implto-tos-axi tools`, then call one tool directly. Use when a task needs workspace data that is not a task or a deliverable."
4
+ user-invocable: false
5
+ author: Valentyn Morenko
6
+ license: MIT
7
+ metadata:
8
+ hermes:
9
+ tags: [process-maps, people, systems, communications, transformation-os]
10
+ category: workflow
11
+ ---
12
+
13
+ # implto-tos-workspace
14
+
15
+ Everything in Transformation OS that is not a task or a component: process
16
+ maps, people, departments, organizational roles, the systems a workspace uses,
17
+ and the client conversation.
18
+
19
+ There is no command per area. Instead the CLI asks the server what it offers
20
+ and calls it, so one tool's schema is loaded when a task needs it rather than
21
+ fifty of them in every request.
22
+
23
+ ## Current guidance lives in the CLI
24
+
25
+ Do not follow tool names or argument lists from this file; the server adds
26
+ tools without releasing this package. Ask it:
27
+
28
+ - `implto-tos-axi tools` - the areas, and which ones this credential holds
29
+ - `implto-tos-axi tools domains <id>` - what an area covers, and its rules
30
+ - `implto-tos-axi tools list --domain <id>` - the tools in it
31
+ - `implto-tos-axi tools show <name>` - one tool's arguments
32
+ - `implto-tos-axi tools call <name> key=value`
33
+
34
+ Worth knowing before the first call:
35
+
36
+ 1. Read the area's rules before writing. They say which lookup to run first,
37
+ and an id from one workspace is never valid in another.
38
+ 2. `workspaceId` is filled in from the repository binding, or from
39
+ `--workspace <name>`. You rarely pass it.
40
+ 3. `key=@file` reads a value from a file, `key=@-` from stdin, and
41
+ `--json '{…}'` passes a nested argument whole.
42
+ 4. A misspelled argument is refused here, naming the real ones - it is not
43
+ sent and quietly ignored.
44
+ 5. `FORBIDDEN` on a whole area means the credential was not granted it. Ask
45
+ the person to sign in again with that area.