rigjs 3.0.32 → 4.0.2

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 (100) hide show
  1. package/.claude/skills/rig-wiki/SKILL.md +104 -0
  2. package/.claude-plugin/plugin.json +14 -0
  3. package/README.md +18 -1
  4. package/README_CN.md +17 -1
  5. package/RIG_CREW_SKILL.md +274 -0
  6. package/RIG_WIKI_SKILL.md +104 -0
  7. package/bin/rig.js +0 -0
  8. package/built/index.js +376 -299
  9. package/doc/architecture/README.md +139 -0
  10. package/doc/architecture/agents.md +180 -0
  11. package/doc/architecture/fc.md +17 -0
  12. package/doc/architecture/wiki.md +278 -0
  13. package/lib/crew/ask.ts +24 -0
  14. package/lib/crew/board.ts +123 -0
  15. package/lib/crew/config.ts +109 -0
  16. package/lib/crew/doctor.ts +40 -0
  17. package/lib/crew/inbox.ts +29 -0
  18. package/lib/crew/index.ts +108 -0
  19. package/lib/crew/init.ts +113 -0
  20. package/lib/crew/paths.ts +13 -0
  21. package/lib/crew/project.ts +84 -0
  22. package/lib/crew/role.ts +121 -0
  23. package/lib/crew/roleCommand.ts +150 -0
  24. package/lib/crew/state.ts +19 -0
  25. package/lib/crew/status.ts +27 -0
  26. package/lib/crew/stub.ts +9 -0
  27. package/lib/crew/sync.ts +15 -0
  28. package/lib/crew/task.ts +92 -0
  29. package/lib/crew/vault.ts +266 -0
  30. package/lib/installLocal.ts +189 -0
  31. package/lib/rig/index.ts +26 -3
  32. package/lib/tag/index.ts +1 -1
  33. package/lib/wiki/README.md +79 -0
  34. package/lib/wiki/agent/claude.ts +65 -0
  35. package/lib/wiki/agent/codex.ts +22 -0
  36. package/lib/wiki/agent/index.ts +11 -0
  37. package/lib/wiki/agent/list.ts +27 -0
  38. package/lib/wiki/agent/pi.ts +21 -0
  39. package/lib/wiki/agent/registry.ts +16 -0
  40. package/lib/wiki/agent/types.ts +37 -0
  41. package/lib/wiki/agent/use.ts +21 -0
  42. package/lib/wiki/config.ts +99 -0
  43. package/lib/wiki/daemon/index.ts +25 -0
  44. package/lib/wiki/daemon/install.ts +69 -0
  45. package/lib/wiki/daemon/logs.ts +16 -0
  46. package/lib/wiki/daemon/runner.ts +42 -0
  47. package/lib/wiki/daemon/start.ts +20 -0
  48. package/lib/wiki/daemon/status.ts +23 -0
  49. package/lib/wiki/daemon/stop.ts +16 -0
  50. package/lib/wiki/daemon/uninstall.ts +17 -0
  51. package/lib/wiki/db.ts +71 -0
  52. package/lib/wiki/fetch.ts +206 -0
  53. package/lib/wiki/index.ts +106 -0
  54. package/lib/wiki/indexCmd.ts +23 -0
  55. package/lib/wiki/ingest.ts +271 -0
  56. package/lib/wiki/init.ts +125 -0
  57. package/lib/wiki/installSkill.ts +92 -0
  58. package/lib/wiki/lint.ts +252 -0
  59. package/lib/wiki/list.ts +69 -0
  60. package/lib/wiki/pathGuard.ts +87 -0
  61. package/lib/wiki/paths.ts +29 -0
  62. package/lib/wiki/platform.ts +8 -0
  63. package/lib/wiki/qmd.ts +205 -0
  64. package/lib/wiki/query.ts +144 -0
  65. package/lib/wiki/rebuild.ts +56 -0
  66. package/lib/wiki/register.ts +94 -0
  67. package/lib/wiki/scan.ts +0 -0
  68. package/lib/wiki/uninstallSkill.ts +37 -0
  69. package/lib/wiki/unregister.ts +16 -0
  70. package/package.json +36 -6
  71. package/scripts/postinstall.mjs +108 -0
  72. package/scripts/publish.mjs +93 -0
  73. package/scripts/sync-skill.mjs +33 -0
  74. package/scripts/version-code.mjs +86 -0
  75. package/skills.md +54 -0
  76. package/.github/workflows/npm-publish.yml +0 -22
  77. package/demo/.env.oem1 +0 -4
  78. package/demo/.env.oem2 +0 -4
  79. package/demo/babel.config.js +0 -5
  80. package/demo/env.rig.json5 +0 -8
  81. package/demo/jsconfig.json +0 -19
  82. package/demo/package.json +0 -59
  83. package/demo/package.rig.json5 +0 -78
  84. package/demo/public/favicon.ico +0 -0
  85. package/demo/public/index.html +0 -17
  86. package/demo/rig_dev/.gitkeep +0 -0
  87. package/demo/rig_helper.d.ts +0 -4
  88. package/demo/rig_helper.js +0 -10
  89. package/demo/rigs/.gitkeep +0 -0
  90. package/demo/src/App.vue +0 -34
  91. package/demo/src/assets/logo.png +0 -0
  92. package/demo/src/components/HelloWorld.vue +0 -58
  93. package/demo/src/main.js +0 -8
  94. package/demo/vue.config.js +0 -8
  95. package/demo/yarn.lock +0 -6312
  96. package/develop.png +0 -0
  97. package/jest/test.rig.json5 +0 -14
  98. package/jest.config.ts +0 -16
  99. package/production.png +0 -0
  100. package/tsconfig.json +0 -53
@@ -1,58 +0,0 @@
1
- <template>
2
- <div class="hello">
3
- <h1>{{ msg }}</h1>
4
- <p>
5
- For a guide and recipes on how to configure / customize this project,<br>
6
- check out the
7
- <a href="https://cli.vuejs.org" target="_blank" rel="noopener">vue-cli documentation</a>.
8
- </p>
9
- <h3>Installed CLI Plugins</h3>
10
- <ul>
11
- <li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-babel" target="_blank" rel="noopener">babel</a></li>
12
- <li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-eslint" target="_blank" rel="noopener">eslint</a></li>
13
- </ul>
14
- <h3>Essential Links</h3>
15
- <ul>
16
- <li><a href="https://vuejs.org" target="_blank" rel="noopener">Core Docs</a></li>
17
- <li><a href="https://forum.vuejs.org" target="_blank" rel="noopener">Forum</a></li>
18
- <li><a href="https://chat.vuejs.org" target="_blank" rel="noopener">Community Chat</a></li>
19
- <li><a href="https://twitter.com/vuejs" target="_blank" rel="noopener">Twitter</a></li>
20
- <li><a href="https://news.vuejs.org" target="_blank" rel="noopener">News</a></li>
21
- </ul>
22
- <h3>Ecosystem</h3>
23
- <ul>
24
- <li><a href="https://router.vuejs.org" target="_blank" rel="noopener">vue-router</a></li>
25
- <li><a href="https://vuex.vuejs.org" target="_blank" rel="noopener">vuex</a></li>
26
- <li><a href="https://github.com/vuejs/vue-devtools#vue-devtools" target="_blank" rel="noopener">vue-devtools</a></li>
27
- <li><a href="https://vue-loader.vuejs.org" target="_blank" rel="noopener">vue-loader</a></li>
28
- <li><a href="https://github.com/vuejs/awesome-vue" target="_blank" rel="noopener">awesome-vue</a></li>
29
- </ul>
30
- </div>
31
- </template>
32
-
33
- <script>
34
- export default {
35
- name: 'HelloWorld',
36
- props: {
37
- msg: String
38
- }
39
- }
40
- </script>
41
-
42
- <!-- Add "scoped" attribute to limit CSS to this component only -->
43
- <style scoped>
44
- h3 {
45
- margin: 40px 0 0;
46
- }
47
- ul {
48
- list-style-type: none;
49
- padding: 0;
50
- }
51
- li {
52
- display: inline-block;
53
- margin: 0 10px;
54
- }
55
- a {
56
- color: #42b983;
57
- }
58
- </style>
package/demo/src/main.js DELETED
@@ -1,8 +0,0 @@
1
- import Vue from 'vue'
2
- import App from './App.vue'
3
-
4
- Vue.config.productionTip = false
5
-
6
- new Vue({
7
- render: h => h(App),
8
- }).$mount('#app')
@@ -1,8 +0,0 @@
1
- const { defineConfig } = require('@vue/cli-service')
2
- console.log(process.env.PUBLIC_PATH)
3
-
4
- module.exports = defineConfig({
5
- transpileDependencies: true,
6
- outputDir: process.env.OUTPUT_DIR,
7
- publicPath: process.env.PUBLIC_PATH
8
- })