@powerhousedao/ph-clint-cli 0.1.0-dev.20 → 0.1.0-dev.21
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/dist/cli.js
CHANGED
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
* rewritten by ph-clint-cli's generator when the project spec changes.
|
|
7
7
|
* Everything outside the markers is user-editable and preserved.
|
|
8
8
|
*/
|
|
9
|
-
import path from 'node:path';
|
|
10
|
-
import { existsSync } from 'node:fs';
|
|
11
9
|
import { defineCli, buildDefaultReactor } from '@powerhousedao/ph-clint';
|
|
12
10
|
import { CLI_NAME, CLI_VERSION, CLI_ROOT } from './config.js';
|
|
13
11
|
import { configSchema, secretsSchema } from './framework.js';
|
|
@@ -23,15 +21,10 @@ import { skillsSync } from './commands/clint-skills-sync.js';
|
|
|
23
21
|
import { specChangeTrigger } from './triggers/spec-change.js';
|
|
24
22
|
import { publishTrigger } from './triggers/publish-trigger.js';
|
|
25
23
|
// @clint:end imports
|
|
26
|
-
// Connect (ph connect) must run inside the Reactor Package (ph-clint-app).
|
|
27
|
-
const appDir = path.resolve(CLI_ROOT, '../ph-clint-app');
|
|
28
|
-
function resolveConnectAssets(dir) {
|
|
29
|
-
const assetsDir = path.join(dir, 'dist', 'connect');
|
|
30
|
-
return existsSync(path.join(assetsDir, 'index.html')) ? assetsDir : undefined;
|
|
31
|
-
}
|
|
32
24
|
export const cli = defineCli({
|
|
33
25
|
name: CLI_NAME,
|
|
34
26
|
version: CLI_VERSION,
|
|
27
|
+
root: CLI_ROOT,
|
|
35
28
|
description: `${CLI_NAME} v${CLI_VERSION} — scaffold and maintain ph-clint implementation projects`,
|
|
36
29
|
configSchema,
|
|
37
30
|
secretsSchema,
|
|
@@ -79,7 +72,7 @@ cli.configureReactor({
|
|
|
79
72
|
subscriptions: { documentTypes: ['powerhouse/ph-clint-project'] },
|
|
80
73
|
}),
|
|
81
74
|
switchboard: { enabled: true },
|
|
82
|
-
connect: { enabled: true
|
|
75
|
+
connect: { enabled: true },
|
|
83
76
|
});
|
|
84
77
|
// @clint:end reactor
|
|
85
78
|
// @clint:begin mastra
|
|
@@ -91,7 +91,7 @@ export function buildCliPackageJson(spec) {
|
|
|
91
91
|
if (spec.description)
|
|
92
92
|
pkg.description = spec.description;
|
|
93
93
|
pkg.bin = { [bin]: './dist/main.js' };
|
|
94
|
-
pkg.files = ['dist'
|
|
94
|
+
pkg.files = ['dist'];
|
|
95
95
|
pkg.scripts = scripts;
|
|
96
96
|
pkg.dependencies = dependencies;
|
|
97
97
|
pkg.devDependencies = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerhousedao/ph-clint-cli",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.21",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
"ph-clint": "./dist/main.js"
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
13
|
-
"dist"
|
|
14
|
-
"prompts"
|
|
13
|
+
"dist"
|
|
15
14
|
],
|
|
16
15
|
"scripts": {
|
|
17
16
|
"build:skills": "tsx scripts/build-skills.ts",
|
|
@@ -29,9 +28,9 @@
|
|
|
29
28
|
"@mastra/core": "^1.22.0",
|
|
30
29
|
"@mastra/libsql": "^1.7.4",
|
|
31
30
|
"@mastra/memory": "^1.13.1",
|
|
32
|
-
"@powerhousedao/ph-clint": "0.1.0-dev.
|
|
33
|
-
"@powerhousedao/ph-clint-app": "^0.1.0-dev.
|
|
34
|
-
"@powerhousedao/ph-clint-dev": "0.1.0-dev.
|
|
31
|
+
"@powerhousedao/ph-clint": "^0.1.0-dev.21",
|
|
32
|
+
"@powerhousedao/ph-clint-app": "^0.1.0-dev.21",
|
|
33
|
+
"@powerhousedao/ph-clint-dev": "^0.1.0-dev.21",
|
|
35
34
|
"@powerhousedao/reactor": "6.0.0-dev.170",
|
|
36
35
|
"@powerhousedao/reactor-api": "6.0.0-dev.170",
|
|
37
36
|
"@powerhousedao/shared": "6.0.0-dev.170",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# Agent Base System Prompt
|
|
2
|
-
|
|
3
|
-
You are {{agentName}}, an agent available through the {{cliName}} CLI.
|
|
4
|
-
|
|
5
|
-
## Capabilities
|
|
6
|
-
|
|
7
|
-
This base profile is a minimal placeholder. Extend it with project-specific
|
|
8
|
-
context, workflows, and domain knowledge. Additional sections listed in the
|
|
9
|
-
agent's `sections` array are concatenated after this file at build time.
|
|
10
|
-
|
|
11
|
-
See `examples/05-ph-rupert/prompts/agent-profiles/AgentBase.md` for a more
|
|
12
|
-
complete example covering Powerhouse document system fundamentals,
|
|
13
|
-
collaboration documents (inbox, WBS), and task management guidelines.
|
|
File without changes
|
|
File without changes
|