@mindstudio-ai/remy 0.1.270 → 0.1.272

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/headless.js CHANGED
@@ -7144,13 +7144,10 @@ function isDedicatedBrandFile(filePath) {
7144
7144
  const { type } = parseFrontmatter3(filePath);
7145
7145
  return type.startsWith("design/color") || type.startsWith("design/typography");
7146
7146
  }
7147
- function isBrandRelevant(filePath) {
7148
- return filePath === path12.join("src", "app.md") || isDedicatedBrandFile(filePath);
7149
- }
7150
7147
  function computeInputHash() {
7151
7148
  const entries = [];
7152
7149
  for (const filePath of walkMdFiles2("src")) {
7153
- if (isBrandRelevant(filePath)) {
7150
+ if (isDedicatedBrandFile(filePath)) {
7154
7151
  entries.push({ path: filePath, content: readSafe(filePath) });
7155
7152
  }
7156
7153
  }
@@ -7279,8 +7276,8 @@ var BRAND_CORPUS_CHAR_LIMIT = 24e5;
7279
7276
  function buildCorpus() {
7280
7277
  const all = walkMdFiles2("src");
7281
7278
  const ordered = [
7282
- ...all.filter(isBrandRelevant),
7283
- ...all.filter((f) => !isBrandRelevant(f))
7279
+ ...all.filter(isDedicatedBrandFile),
7280
+ ...all.filter((f) => !isDedicatedBrandFile(f))
7284
7281
  ];
7285
7282
  const files = [];
7286
7283
  const manifest = readBrandManifest();
@@ -7713,7 +7710,11 @@ function friendlyError(raw) {
7713
7710
 
7714
7711
  // src/agent.ts
7715
7712
  var log14 = createLogger("agent");
7716
- var BRAND_TRIGGERING_TOOLS = /* @__PURE__ */ new Set(["writeSpec", "editSpec"]);
7713
+ var BRAND_TRIGGERING_TOOLS = /* @__PURE__ */ new Set([
7714
+ "writeSpec",
7715
+ "editSpec",
7716
+ "setProjectMetadata"
7717
+ ]);
7717
7718
  function getTextContent(blocks) {
7718
7719
  return blocks.filter((b) => b.type === "text").map((b) => b.text).join("");
7719
7720
  }
package/dist/index.js CHANGED
@@ -7990,13 +7990,10 @@ function isDedicatedBrandFile(filePath) {
7990
7990
  const { type } = parseFrontmatter3(filePath);
7991
7991
  return type.startsWith("design/color") || type.startsWith("design/typography");
7992
7992
  }
7993
- function isBrandRelevant(filePath) {
7994
- return filePath === path11.join("src", "app.md") || isDedicatedBrandFile(filePath);
7995
- }
7996
7993
  function computeInputHash() {
7997
7994
  const entries = [];
7998
7995
  for (const filePath of walkMdFiles2("src")) {
7999
- if (isBrandRelevant(filePath)) {
7996
+ if (isDedicatedBrandFile(filePath)) {
8000
7997
  entries.push({ path: filePath, content: readSafe(filePath) });
8001
7998
  }
8002
7999
  }
@@ -8123,8 +8120,8 @@ async function extractBrand(apiConfig, model) {
8123
8120
  function buildCorpus() {
8124
8121
  const all = walkMdFiles2("src");
8125
8122
  const ordered = [
8126
- ...all.filter(isBrandRelevant),
8127
- ...all.filter((f) => !isBrandRelevant(f))
8123
+ ...all.filter(isDedicatedBrandFile),
8124
+ ...all.filter((f) => !isDedicatedBrandFile(f))
8128
8125
  ];
8129
8126
  const files = [];
8130
8127
  const manifest = readBrandManifest();
@@ -9007,7 +9004,11 @@ var init_agent = __esm({
9007
9004
  init_toolRegistry();
9008
9005
  init_toolResultCap();
9009
9006
  log13 = createLogger("agent");
9010
- BRAND_TRIGGERING_TOOLS = /* @__PURE__ */ new Set(["writeSpec", "editSpec"]);
9007
+ BRAND_TRIGGERING_TOOLS = /* @__PURE__ */ new Set([
9008
+ "writeSpec",
9009
+ "editSpec",
9010
+ "setProjectMetadata"
9011
+ ]);
9011
9012
  EXTERNAL_TOOLS = /* @__PURE__ */ new Set([
9012
9013
  "promptUser",
9013
9014
  "setProjectOnboardingState",
@@ -105,6 +105,11 @@ method to branch web vs phone behavior (what to prefetch, how to phrase context)
105
105
  `session.sip.fromNumber` as context only, never identity: caller ID is spoofable, so don't gate
106
106
  data or roles on it — in-call verification is the auth rail.
107
107
 
108
+ Ordinary web method calls carry the same context (`session.channel === 'web'` with `visitorId`),
109
+ so correlating a browser's web activity with its voice calls can key on `session.visitorId` on
110
+ both sides — one browser, one visitor id, web and voice alike. `session.voiceSessionId` remains
111
+ the per-call key when you need to distinguish individual calls.
112
+
108
113
  ### Client tools: actions that happen on screen (`target: "client"`)
109
114
 
110
115
  A tool whose effect belongs in the browser — open the verification sheet, navigate to a page,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindstudio-ai/remy",
3
- "version": "0.1.270",
3
+ "version": "0.1.272",
4
4
  "description": "Remy coding agent",
5
5
  "repository": {
6
6
  "type": "git",