planmode 0.1.2 → 0.1.3

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/index.js CHANGED
@@ -939,7 +939,7 @@ var publishCommand = new Command5("publish").description("Publish the current di
939
939
  "User-Agent": "planmode-cli",
940
940
  "Content-Type": "application/json"
941
941
  };
942
- await fetch("https://api.github.com/repos/planmode/registry/forks", {
942
+ await fetch("https://api.github.com/repos/kaihannonen/planmode.org/forks", {
943
943
  method: "POST",
944
944
  headers
945
945
  });
@@ -984,7 +984,7 @@ var publishCommand = new Command5("publish").description("Publish the current di
984
984
  );
985
985
  const branchName = `add-${manifest.name}-${manifest.version}`;
986
986
  const refRes = await fetch(
987
- `https://api.github.com/repos/${user.login}/registry/git/ref/heads/main`,
987
+ `https://api.github.com/repos/${user.login}/planmode.org/git/ref/heads/main`,
988
988
  { headers }
989
989
  );
990
990
  if (!refRes.ok) {
@@ -993,7 +993,7 @@ var publishCommand = new Command5("publish").description("Publish the current di
993
993
  }
994
994
  const refData = await refRes.json();
995
995
  const baseSha = refData.object.sha;
996
- await fetch(`https://api.github.com/repos/${user.login}/registry/git/refs`, {
996
+ await fetch(`https://api.github.com/repos/${user.login}/planmode.org/git/refs`, {
997
997
  method: "POST",
998
998
  headers,
999
999
  body: JSON.stringify({
@@ -1002,7 +1002,7 @@ var publishCommand = new Command5("publish").description("Publish the current di
1002
1002
  })
1003
1003
  });
1004
1004
  await fetch(
1005
- `https://api.github.com/repos/${user.login}/registry/contents/packages/${manifest.name}/metadata.json`,
1005
+ `https://api.github.com/repos/${user.login}/planmode.org/contents/registry/packages/${manifest.name}/metadata.json`,
1006
1006
  {
1007
1007
  method: "PUT",
1008
1008
  headers,
@@ -1014,7 +1014,7 @@ var publishCommand = new Command5("publish").description("Publish the current di
1014
1014
  }
1015
1015
  );
1016
1016
  await fetch(
1017
- `https://api.github.com/repos/${user.login}/registry/contents/packages/${manifest.name}/versions/${manifest.version}.json`,
1017
+ `https://api.github.com/repos/${user.login}/planmode.org/contents/registry/packages/${manifest.name}/versions/${manifest.version}.json`,
1018
1018
  {
1019
1019
  method: "PUT",
1020
1020
  headers,
@@ -1025,7 +1025,7 @@ var publishCommand = new Command5("publish").description("Publish the current di
1025
1025
  })
1026
1026
  }
1027
1027
  );
1028
- const prRes = await fetch("https://api.github.com/repos/planmode/registry/pulls", {
1028
+ const prRes = await fetch("https://api.github.com/repos/kaihannonen/planmode.org/pulls", {
1029
1029
  method: "POST",
1030
1030
  headers,
1031
1031
  body: JSON.stringify({
@@ -1294,7 +1294,7 @@ var loginCommand = new Command10("login").description("Configure GitHub authenti
1294
1294
 
1295
1295
  // src/index.ts
1296
1296
  var program = new Command11();
1297
- program.name("planmode").description("The open source package manager for AI plans, rules, and prompts.").version("0.1.1");
1297
+ program.name("planmode").description("The open source package manager for AI plans, rules, and prompts.").version("0.1.3");
1298
1298
  program.addCommand(installCommand);
1299
1299
  program.addCommand(uninstallCommand);
1300
1300
  program.addCommand(searchCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "planmode",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "The open source package manager for AI plans, rules, and prompts.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -65,7 +65,7 @@ export const publishCommand = new Command("publish")
65
65
  };
66
66
 
67
67
  // Fork the registry repo (idempotent)
68
- await fetch("https://api.github.com/repos/planmode/registry/forks", {
68
+ await fetch("https://api.github.com/repos/kaihannonen/planmode.org/forks", {
69
69
  method: "POST",
70
70
  headers,
71
71
  });
@@ -123,7 +123,7 @@ export const publishCommand = new Command("publish")
123
123
 
124
124
  // Get main branch ref
125
125
  const refRes = await fetch(
126
- `https://api.github.com/repos/${user.login}/registry/git/ref/heads/main`,
126
+ `https://api.github.com/repos/${user.login}/planmode.org/git/ref/heads/main`,
127
127
  { headers },
128
128
  );
129
129
 
@@ -136,7 +136,7 @@ export const publishCommand = new Command("publish")
136
136
  const baseSha = refData.object.sha;
137
137
 
138
138
  // Create branch
139
- await fetch(`https://api.github.com/repos/${user.login}/registry/git/refs`, {
139
+ await fetch(`https://api.github.com/repos/${user.login}/planmode.org/git/refs`, {
140
140
  method: "POST",
141
141
  headers,
142
142
  body: JSON.stringify({
@@ -147,7 +147,7 @@ export const publishCommand = new Command("publish")
147
147
 
148
148
  // Create metadata.json
149
149
  await fetch(
150
- `https://api.github.com/repos/${user.login}/registry/contents/packages/${manifest.name}/metadata.json`,
150
+ `https://api.github.com/repos/${user.login}/planmode.org/contents/registry/packages/${manifest.name}/metadata.json`,
151
151
  {
152
152
  method: "PUT",
153
153
  headers,
@@ -161,7 +161,7 @@ export const publishCommand = new Command("publish")
161
161
 
162
162
  // Create version file
163
163
  await fetch(
164
- `https://api.github.com/repos/${user.login}/registry/contents/packages/${manifest.name}/versions/${manifest.version}.json`,
164
+ `https://api.github.com/repos/${user.login}/planmode.org/contents/registry/packages/${manifest.name}/versions/${manifest.version}.json`,
165
165
  {
166
166
  method: "PUT",
167
167
  headers,
@@ -174,7 +174,7 @@ export const publishCommand = new Command("publish")
174
174
  );
175
175
 
176
176
  // Create PR
177
- const prRes = await fetch("https://api.github.com/repos/planmode/registry/pulls", {
177
+ const prRes = await fetch("https://api.github.com/repos/kaihannonen/planmode.org/pulls", {
178
178
  method: "POST",
179
179
  headers,
180
180
  body: JSON.stringify({
package/src/index.ts CHANGED
@@ -15,7 +15,7 @@ const program = new Command();
15
15
  program
16
16
  .name("planmode")
17
17
  .description("The open source package manager for AI plans, rules, and prompts.")
18
- .version("0.1.1");
18
+ .version("0.1.3");
19
19
 
20
20
  program.addCommand(installCommand);
21
21
  program.addCommand(uninstallCommand);