@abuswami1996/agent-md 0.1.1 → 0.1.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.4
4
+
5
+ - Added release workflow support for npm trusted publishing with provenance.
6
+ - Added release safety checks for CLI package contents and changelog/version alignment.
7
+ - Bundled the latest Agent Markdown Preview VSIX in the CLI publish artifact.
8
+
9
+ ## 0.1.2
10
+
11
+ - Installed agent skills into each tool's documented `SKILL.md` directory.
12
+ - Made Cursor skill installs self-contained under `.cursor/skills/agent-markdown/`.
13
+ - Clarified Cursor extension installation via bundled VSIX until Open VSX publishing is complete.
14
+
3
15
  ## 0.1.0
4
16
 
5
17
  Initial MVP release candidate for the `agent-md` CLI.
package/README.md CHANGED
@@ -27,12 +27,18 @@ Use the `--agent` flag to install the skill in the project-local location for yo
27
27
  Install the published editor extension:
28
28
 
29
29
  ```bash
30
- cursor --install-extension AbhinavSwaminathan.agent-md-preview
30
+ code --install-extension AbhinavSwaminathan.agent-md-preview
31
31
  ```
32
32
 
33
33
  Marketplace listing:
34
34
  [Agent Markdown Preview](https://marketplace.visualstudio.com/items?itemName=AbhinavSwaminathan.agent-md-preview)
35
35
 
36
+ Cursor uses Open VSX for extension ID installs. Until Agent Markdown Preview is published there too, install the bundled VSIX:
37
+
38
+ ```bash
39
+ npx agent-md vscode-extension --install --editor cursor
40
+ ```
41
+
36
42
  ## Commands
37
43
 
38
44
  ```bash
@@ -42,7 +48,7 @@ npx agent-md export examples/example.agent.md --format json
42
48
  npx agent-md vscode-extension
43
49
  ```
44
50
 
45
- `npx agent-md vscode-extension` prints local VSIX install instructions when the CLI package includes a bundled extension. The Marketplace extension is the preferred install path for most users.
51
+ `npx agent-md vscode-extension` prints local VSIX install instructions when the CLI package includes a bundled extension. The Visual Studio Marketplace extension is the preferred install path for VSCode users; Cursor users should use the bundled VSIX until an Open VSX listing exists.
46
52
 
47
53
  ## Security
48
54
 
Binary file
package/dist/index.js CHANGED
@@ -330,6 +330,12 @@ Rules:
330
330
  - Add frontmatter with format: agent-md and version: 0.1.
331
331
  - Run agent-md validate before considering a document complete.
332
332
 
333
+ Supporting files in this skill directory:
334
+ - agent-md.config.json: default runtime configuration.
335
+ - schema.json: primitive reference schema.
336
+ - components.json: registered component reference.
337
+ - examples/example.agent.md: starter Agent Markdown document.
338
+
333
339
  Supported MVP primitives:
334
340
  - ::metric for KPI cards.
335
341
  - ::chart for line, bar, area, scatter, and pie charts.
@@ -621,6 +627,7 @@ function columnType(source, column) {
621
627
  // src/index.ts
622
628
  var program = new Command();
623
629
  var cliDir = path2.dirname(fileURLToPath(import.meta.url));
630
+ var cliVersion = "0.1.2";
624
631
  var extensionId = "AbhinavSwaminathan.agent-md-preview";
625
632
  var viewerDistCandidates = [
626
633
  path2.resolve(cliDir, "../viewer-dist"),
@@ -630,14 +637,13 @@ var vsixCandidates = [
630
637
  path2.resolve(cliDir, "../agent-md-preview.vsix"),
631
638
  path2.resolve(cliDir, "../../vscode-extension/dist/agent-md-preview.vsix")
632
639
  ];
633
- program.name("agent-md").description("Local-first Agent Markdown runtime").version("0.1.0");
640
+ program.name("agent-md").description("Local-first Agent Markdown runtime").version(cliVersion);
634
641
  program.command("init").option("--agent <agent>", "agent skill flavor", "generic").action(async (options) => {
635
642
  const root = process.cwd();
636
643
  const agent = normalizeAgent(String(options.agent));
637
644
  await writeIfMissing(path2.join(root, "agent-md.config.json"), configJson());
638
645
  await fs2.mkdir(path2.join(root, ".agent-md"), { recursive: true });
639
646
  await fs2.mkdir(path2.join(root, "examples"), { recursive: true });
640
- await writeIfMissing(path2.join(root, ".agent-md", "skill.md"), skillMarkdown);
641
647
  const installedSkillPaths = await installAgentSkill(root, agent);
642
648
  await writeIfMissing(path2.join(root, ".agent-md", "schema.json"), schemaJson());
643
649
  await writeIfMissing(path2.join(root, ".agent-md", "components.json"), componentsJson());
@@ -723,8 +729,13 @@ async function writeIfMissing(file, content) {
723
729
  async function installAgentSkill(root, agent) {
724
730
  const skillPaths = skillInstallPaths(root, agent);
725
731
  for (const skillPath of skillPaths) {
726
- await fs2.mkdir(path2.dirname(skillPath), { recursive: true });
732
+ const skillDir = path2.dirname(skillPath);
733
+ await fs2.mkdir(path2.join(skillDir, "examples"), { recursive: true });
727
734
  await writeIfMissing(skillPath, skillMarkdown);
735
+ await writeIfMissing(path2.join(skillDir, "agent-md.config.json"), configJson());
736
+ await writeIfMissing(path2.join(skillDir, "schema.json"), schemaJson());
737
+ await writeIfMissing(path2.join(skillDir, "components.json"), componentsJson());
738
+ await writeIfMissing(path2.join(skillDir, "examples", "example.agent.md"), exampleAgentMarkdown);
728
739
  }
729
740
  return skillPaths;
730
741
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abuswami1996/agent-md",
3
- "version": "0.1.1",
3
+ "version": "0.1.4",
4
4
  "description": "Local-first Agent Markdown runtime, validator, browser viewer, and agent skill installer.",
5
5
  "license": "MIT",
6
6
  "author": "Abhinav Swaminathan",