@tesselate-digital/notion-agent-hive 0.0.10 → 0.0.11

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.
Files changed (2) hide show
  1. package/dist/index.js +8 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -18,9 +18,10 @@ var __export = (target, all) => {
18
18
  import { readFileSync } from "fs";
19
19
  import { join } from "path";
20
20
  var COORDINATOR_PROMPT = readFileSync(join(import.meta.dir, "../../prompts/dist/coordinator.md"), "utf-8");
21
+ var { version } = JSON.parse(readFileSync(join(import.meta.dir, "../../package.json"), "utf-8"));
21
22
  function createCoordinatorAgent(model, variant) {
22
23
  const definition = {
23
- name: "notion agent hive",
24
+ name: `notion agent hive v${version}`,
24
25
  config: {
25
26
  description: "Coordinator agent for Notion workflow orchestration",
26
27
  mode: "primary",
@@ -1179,11 +1180,11 @@ function datetimeRegex(args) {
1179
1180
  regex = `${regex}(${opts.join("|")})`;
1180
1181
  return new RegExp(`^${regex}$`);
1181
1182
  }
1182
- function isValidIP(ip, version) {
1183
- if ((version === "v4" || !version) && ipv4Regex.test(ip)) {
1183
+ function isValidIP(ip, version2) {
1184
+ if ((version2 === "v4" || !version2) && ipv4Regex.test(ip)) {
1184
1185
  return true;
1185
1186
  }
1186
- if ((version === "v6" || !version) && ipv6Regex.test(ip)) {
1187
+ if ((version2 === "v6" || !version2) && ipv6Regex.test(ip)) {
1187
1188
  return true;
1188
1189
  }
1189
1190
  return false;
@@ -1210,11 +1211,11 @@ function isValidJWT(jwt, alg) {
1210
1211
  return false;
1211
1212
  }
1212
1213
  }
1213
- function isValidCidr(ip, version) {
1214
- if ((version === "v4" || !version) && ipv4CidrRegex.test(ip)) {
1214
+ function isValidCidr(ip, version2) {
1215
+ if ((version2 === "v4" || !version2) && ipv4CidrRegex.test(ip)) {
1215
1216
  return true;
1216
1217
  }
1217
- if ((version === "v6" || !version) && ipv6CidrRegex.test(ip)) {
1218
+ if ((version2 === "v6" || !version2) && ipv6CidrRegex.test(ip)) {
1218
1219
  return true;
1219
1220
  }
1220
1221
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesselate-digital/notion-agent-hive",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "provenance": true,
5
5
  "repository": {
6
6
  "type": "git",