@happyvertical/weather 0.79.0 → 0.80.1
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/AGENT.md +1 -1
- package/dist/cli/claude-context.js +9 -9
- package/dist/index.js +910 -1375
- package/metadata.json +2 -2
- package/package.json +5 -5
package/AGENT.md
CHANGED
|
@@ -7,7 +7,7 @@ Weather data provider abstraction for HAppyVertical SDK
|
|
|
7
7
|
## Package Map
|
|
8
8
|
- Package: `@happyvertical/weather`
|
|
9
9
|
- Hierarchy path: `@happyvertical/sdk > packages > weather`
|
|
10
|
-
- Workspace position: `
|
|
10
|
+
- Workspace position: `32 of 32` local packages
|
|
11
11
|
- Internal dependencies: `@happyvertical/utils`
|
|
12
12
|
- Internal dependents: none
|
|
13
13
|
- Knowledge graph files: `AGENT.md`, `metadata.json`, `ecosystem-manifest.json`
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
import { dirname as
|
|
4
|
-
import { fileURLToPath as
|
|
5
|
-
|
|
6
|
-
o
|
|
7
|
-
|
|
8
|
-
o
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
import { copyFileSync as e, existsSync as t, mkdirSync as n } from "node:fs";
|
|
3
|
+
import { dirname as r, join as i } from "node:path";
|
|
4
|
+
import { fileURLToPath as a } from "node:url";
|
|
5
|
+
//#region src/cli/claude-context.ts
|
|
6
|
+
var o = i(r(a(import.meta.url)), "../.."), s = i(process.cwd(), ".claude");
|
|
7
|
+
t(s) || n(s, { recursive: !0 });
|
|
8
|
+
var c = "weather", l = t(i(o, "AGENT.md")) ? i(o, "AGENT.md") : i(o, "CLAUDE.md"), u = t(i(o, "metadata.json")) ? i(o, "metadata.json") : i(o, ".claude-meta.json");
|
|
9
|
+
t(l) && e(l, i(s, `have-${c}.md`)), t(u) && e(u, i(s, `have-${c}.meta.json`)), console.log(`✓ Installed @happyvertical/${c} context to .claude/`);
|
|
10
|
+
//#endregion
|