@agenticmail/enterprise 0.5.4 → 0.5.5
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/chunk-6CVIA5YL.js +808 -0
- package/dist/cli-build-skill-AE7QC5C5.js +235 -0
- package/dist/cli-recover-5M74V7V4.js +97 -0
- package/dist/cli-submit-skill-LDFJGSKO.js +162 -0
- package/dist/cli-validate-QTV6662P.js +148 -0
- package/dist/cli.js +12 -12
- package/dist/index.js +1 -1
- package/dist/setup-HJ4PTUSA.js +20 -0
- package/package.json +1 -1
- package/src/cli.ts +13 -13
- package/src/domain-lock/cli-recover.ts +4 -4
- package/src/domain-lock/cli-verify.ts +3 -3
- package/src/engine/cli-build-skill.ts +2 -2
- package/src/engine/cli-submit-skill.ts +3 -3
- package/src/engine/cli-validate.ts +3 -3
- package/src/setup/registration.ts +4 -4
package/dist/index.js
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
promptCompanyInfo,
|
|
3
|
+
promptDatabase,
|
|
4
|
+
promptDeployment,
|
|
5
|
+
promptDomain,
|
|
6
|
+
promptRegistration,
|
|
7
|
+
provision,
|
|
8
|
+
runSetupWizard
|
|
9
|
+
} from "./chunk-6CVIA5YL.js";
|
|
10
|
+
import "./chunk-NTVN3JHS.js";
|
|
11
|
+
import "./chunk-KFQGP6VL.js";
|
|
12
|
+
export {
|
|
13
|
+
promptCompanyInfo,
|
|
14
|
+
promptDatabase,
|
|
15
|
+
promptDeployment,
|
|
16
|
+
promptDomain,
|
|
17
|
+
promptRegistration,
|
|
18
|
+
provision,
|
|
19
|
+
runSetupWizard
|
|
20
|
+
};
|
package/package.json
CHANGED
package/src/cli.ts
CHANGED
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
*
|
|
13
13
|
* Usage:
|
|
14
14
|
* npx @agenticmail/enterprise
|
|
15
|
-
* agenticmail
|
|
16
|
-
* agenticmail
|
|
17
|
-
* agenticmail
|
|
18
|
-
* agenticmail
|
|
19
|
-
* agenticmail
|
|
20
|
-
* agenticmail
|
|
15
|
+
* npx @agenticmail/enterprise validate ./community-skills/my-skill/
|
|
16
|
+
* npx @agenticmail/enterprise validate --all
|
|
17
|
+
* npx @agenticmail/enterprise build-skill
|
|
18
|
+
* npx @agenticmail/enterprise submit-skill ./community-skills/my-skill/
|
|
19
|
+
* npx @agenticmail/enterprise recover --domain agents.agenticmail.io
|
|
20
|
+
* npx @agenticmail/enterprise verify-domain
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
23
|
const args = process.argv.slice(2);
|
|
@@ -60,15 +60,15 @@ Commands:
|
|
|
60
60
|
verify-domain Check DNS verification for your domain
|
|
61
61
|
|
|
62
62
|
Domain Registration:
|
|
63
|
-
agenticmail
|
|
64
|
-
agenticmail
|
|
65
|
-
agenticmail
|
|
63
|
+
npx @agenticmail/enterprise recover --domain agents.agenticmail.io --key <hex>
|
|
64
|
+
npx @agenticmail/enterprise verify-domain
|
|
65
|
+
npx @agenticmail/enterprise verify-domain --domain agents.agenticmail.io
|
|
66
66
|
|
|
67
67
|
Skill Development:
|
|
68
|
-
agenticmail
|
|
69
|
-
agenticmail
|
|
70
|
-
agenticmail
|
|
71
|
-
agenticmail
|
|
68
|
+
npx @agenticmail/enterprise validate ./community-skills/github-issues/
|
|
69
|
+
npx @agenticmail/enterprise validate --all
|
|
70
|
+
npx @agenticmail/enterprise build-skill
|
|
71
|
+
npx @agenticmail/enterprise submit-skill ./community-skills/my-skill/
|
|
72
72
|
`);
|
|
73
73
|
break;
|
|
74
74
|
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Requires the original deployment key to prove ownership.
|
|
6
6
|
*
|
|
7
7
|
* Usage:
|
|
8
|
-
* agenticmail
|
|
9
|
-
* agenticmail
|
|
10
|
-
* agenticmail
|
|
8
|
+
* npx @agenticmail/enterprise recover
|
|
9
|
+
* npx @agenticmail/enterprise recover --domain agents.agenticmail.io --key <hex>
|
|
10
|
+
* npx @agenticmail/enterprise recover --db ./data.db --db-type sqlite
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { DomainLock } from './index.js';
|
|
@@ -119,6 +119,6 @@ export async function runRecover(args: string[]): Promise<void> {
|
|
|
119
119
|
console.log(` ${chalk.bold('Type:')} ${chalk.cyan('TXT')}`);
|
|
120
120
|
console.log(` ${chalk.bold('Value:')} ${chalk.cyan(result.dnsChallenge)}`);
|
|
121
121
|
console.log('');
|
|
122
|
-
console.log(chalk.dim(' Then run: agenticmail
|
|
122
|
+
console.log(chalk.dim(' Then run: npx @agenticmail/enterprise verify-domain'));
|
|
123
123
|
console.log('');
|
|
124
124
|
}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Asks the central registry to resolve the TXT record.
|
|
6
6
|
*
|
|
7
7
|
* Usage:
|
|
8
|
-
* agenticmail
|
|
9
|
-
* agenticmail
|
|
10
|
-
* agenticmail
|
|
8
|
+
* npx @agenticmail/enterprise verify-domain
|
|
9
|
+
* npx @agenticmail/enterprise verify-domain --domain agents.agenticmail.io
|
|
10
|
+
* npx @agenticmail/enterprise verify-domain --db ./data.db
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { DomainLock } from './index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* CLI: agenticmail
|
|
2
|
+
* CLI: npx @agenticmail/enterprise build-skill
|
|
3
3
|
*
|
|
4
4
|
* Interactive AI-assisted skill scaffolding. Prompts for the target
|
|
5
5
|
* application/service, generates a valid agenticmail-skill.json manifest,
|
|
@@ -162,7 +162,7 @@ export async function runBuildSkill(_args: string[]) {
|
|
|
162
162
|
const { runSubmitSkill } = await import('./cli-submit-skill.js');
|
|
163
163
|
await runSubmitSkill([outDir]);
|
|
164
164
|
} else {
|
|
165
|
-
console.log(chalk.dim('\n To submit later: agenticmail
|
|
165
|
+
console.log(chalk.dim('\n To submit later: npx @agenticmail/enterprise submit-skill ' + answers.outputDir));
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* CLI: agenticmail
|
|
2
|
+
* CLI: npx @agenticmail/enterprise submit-skill <path>
|
|
3
3
|
*
|
|
4
4
|
* Automates the GitHub PR submission flow for a community skill.
|
|
5
5
|
* Uses the `gh` CLI to fork, branch, commit, push, and open a PR.
|
|
@@ -18,7 +18,7 @@ export async function runSubmitSkill(args: string[]) {
|
|
|
18
18
|
|
|
19
19
|
const target = args.filter(a => !a.startsWith('--'))[0];
|
|
20
20
|
if (!target) {
|
|
21
|
-
console.log(`${chalk.bold('Usage:')} agenticmail
|
|
21
|
+
console.log(`${chalk.bold('Usage:')} npx @agenticmail/enterprise submit-skill <path-to-skill-dir>`);
|
|
22
22
|
process.exit(1);
|
|
23
23
|
return;
|
|
24
24
|
}
|
|
@@ -172,7 +172,7 @@ ${toolsList}
|
|
|
172
172
|
|
|
173
173
|
### Validation
|
|
174
174
|
|
|
175
|
-
- [x] Manifest passes \`agenticmail
|
|
175
|
+
- [x] Manifest passes \`npx @agenticmail/enterprise validate\`
|
|
176
176
|
- [x] All required fields present
|
|
177
177
|
- [x] No duplicate tool IDs
|
|
178
178
|
${manifest.tags ? `\n**Tags:** ${manifest.tags.join(', ')}` : ''}`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* CLI: agenticmail
|
|
2
|
+
* CLI: npx @agenticmail/enterprise validate <path>
|
|
3
3
|
*
|
|
4
4
|
* Validates an agenticmail-skill.json manifest against the full spec.
|
|
5
5
|
* Checks for duplicate tool IDs against the builtin catalog and
|
|
@@ -64,9 +64,9 @@ export async function runValidate(args: string[]) {
|
|
|
64
64
|
const target = pathArgs[0];
|
|
65
65
|
if (!target) {
|
|
66
66
|
if (jsonMode) {
|
|
67
|
-
console.log(JSON.stringify({ error: 'No path specified. Usage: agenticmail
|
|
67
|
+
console.log(JSON.stringify({ error: 'No path specified. Usage: npx @agenticmail/enterprise validate <path> [--all] [--json]' }));
|
|
68
68
|
} else {
|
|
69
|
-
console.log(`${chalk.bold('Usage:')} agenticmail
|
|
69
|
+
console.log(`${chalk.bold('Usage:')} npx @agenticmail/enterprise validate <path>`);
|
|
70
70
|
console.log('');
|
|
71
71
|
console.log(' <path> Path to a skill directory or agenticmail-skill.json file');
|
|
72
72
|
console.log(' --all Validate all skills in community-skills/');
|
|
@@ -94,7 +94,7 @@ export async function promptRegistration(
|
|
|
94
94
|
spinner.fail('Domain already registered');
|
|
95
95
|
console.log('');
|
|
96
96
|
console.log(chalk.yellow(' This domain is already registered and verified.'));
|
|
97
|
-
console.log(chalk.dim(' If this is your domain, use: agenticmail
|
|
97
|
+
console.log(chalk.dim(' If this is your domain, use: npx @agenticmail/enterprise recover'));
|
|
98
98
|
console.log('');
|
|
99
99
|
|
|
100
100
|
const { continueAnyway } = await inquirer.prompt([{
|
|
@@ -121,7 +121,7 @@ export async function promptRegistration(
|
|
|
121
121
|
spinner.warn('Registry unavailable');
|
|
122
122
|
console.log('');
|
|
123
123
|
console.log(chalk.yellow(` Could not reach registry: ${err.message}`));
|
|
124
|
-
console.log(chalk.dim(' You can register later with: agenticmail
|
|
124
|
+
console.log(chalk.dim(' You can register later with: npx @agenticmail/enterprise verify-domain'));
|
|
125
125
|
console.log('');
|
|
126
126
|
|
|
127
127
|
const { continueAnyway } = await inquirer.prompt([{
|
|
@@ -209,11 +209,11 @@ export async function promptRegistration(
|
|
|
209
209
|
await new Promise(r => setTimeout(r, 10_000));
|
|
210
210
|
} else {
|
|
211
211
|
spinner.info('DNS record not found yet');
|
|
212
|
-
console.log(chalk.dim(' Run later: agenticmail
|
|
212
|
+
console.log(chalk.dim(' Run later: npx @agenticmail/enterprise verify-domain'));
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
} else {
|
|
216
|
-
console.log(chalk.dim(' Run when ready: agenticmail
|
|
216
|
+
console.log(chalk.dim(' Run when ready: npx @agenticmail/enterprise verify-domain'));
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
console.log('');
|